Blog.
Notizen aus meinem Entwickleralltag. Meistens kurz, meistens mit Code, meistens auf Englisch.
Alle Beiträge
2023
-
Embracing Innovation: Angular 17's New Features Spotlighting Vite and Standalone Components
The continuous evolution of web development maintains its pace, and Angular, as a frontrunner in this race, is moving forward with exciting updates. With the advent of Angular 17, …
-
A Heartwarming Project: Building a Website for My Sons' Former Daycare Provider
As many of you know, my primary focus has always been on app development. It’s my bread and butter, what I live and breathe. But every so often, life throws an unexpected …
-
Understanding Java's Long and Integer Cache
Java’s Integer and Long classes have a built-in caching mechanism that helps reduce memory overhead and improve performance. This cache is used when autoboxing primitive types into …
2022
2021
2020
2019
2018
-
Stencil components and Vue
Recently I build some components with Stencil for an Angular project. Unsurprisingly the created components also work well with Vue. There are two steps necessary. Here is the …
-
TSLint Warnings instead of Errors in Webstorm
That TSLint rules in Webstorm are displayed as error messages is something that drives me nuts. Today I discovered that one can change that behaviour in Webstorm:
2016
-
Write your own TypeScript definition files
Last Year I wrote a blog post about TypeScript and jQuery. I introduced TSD, a manager for TypeScript definition files. TSD, or Typings as TSD is deprecated now, contains nearly …
-
Setting system properties for WildFly with a properties file
To set or override system properties without changing WildFly’s configuration there is a CLI parameter -p.
-
Guavas MultiMap FTW
I often have the need for some kind of “grouped list”. I have a key and a list of values. Usually I do the following:
-
Guava Joiner Class
Although I’m a long time user of Google Guava I discovered the class Joiner just a few days ago. Eventually everybody who’s familiar with Googles Apache Commons alternative have …
-
Remove "Server" and "X-Powered-By" Response Headers in Wildfly
Wildfly identifies himself in the response headers. To remove this you just have to comment/remove the following lines under the urn:jboss:domain:undertow:2.0 (depend on your …
-
Remote debugging Tomcat applications on Raspberry Pi with IntelliJ
In this post I will show how to remote debug Tomcat applications on a Raspberry Pi with IntelliJ.
2015
-
Where is my code?
A lib I’ve used often lately is Project Lombok. Lombok fills the gap between Java and some C# syntactic sugar features that makes me slightly jealous ;).
-
Quick Tip: Remove IntelliJ IDEAs unused directories on OS X
After upgrading IntelliJ the old directories still remain unused. I suggest to delete them.
-
Frontend Logging with JavaFX and Log4j 2
Although I’m developing Java EE applications with HTML5, I sometimes have to build Java SE applications with a Frontend. I’ve used Swing or AWT in the past. But since JavaFX 2.0 …
-
Maven Plugin to check for Methods that are not implemented
Recently my former colleague, IBM Champion and also highly regarded friend Oliver Busse wrote a blog post called “Quick-Tip: never forget empty methods anymore”. In summary, it can …
-
Tooltip: Unirest - Lightweight HTTP Request Client Libraries
There are a lot of HTTP libraries available in the Java universe like the Apache HttpClient library. Also Java provides the HttpURLConnection class as a standard on-board. They all …
-
Pitfall with "this" in TypeScript
Recently I stumbled accross a strange behaviour with the “this” reference in TypeScript.
-
Node.js and Postgres
This tutorial shows how to create a simple web server with a tiny REST “API” and a PostgreSQL database. I asume that you have installed the node.js platform and npm.
-
TypeScript and jQuery
If you want to use an existing JavaScript library with TypeScript you need some kind of header file. This file, called definition file, contains type informations about the …
-
Why Java Developers might love TypeScript
I’ve met a lot of Java developers that don’t like JavaScript. Weak typing, inequality of equality, the scope of variables et cetera. I encourage them not to use only plain …
-
Fun with java.net.URL
I’m writing a little app to check the health status of my server and came accross a confusing feature in java.net.URL. I remembered I struggle with this behaviour when I came from …
-
Plesk, Subdomains and (Wildfly) Docker Images
I’m running a Docker container with Wildfly 9 on my server for testing purposes. The server is managed with Plesk, so setting up the subdomain is really easy. For rewriting the …
-
Syntax Highlightning in Ghost
Dieses Blog läuft auf der Blogging Plattform Ghost. Statt HTML oder einem Rich Editor der HTML erzeugt, werden die Artikel in Markdown geschrieben. Markdown ist eine einfache …
-
Phonegap / Cordova 4.x app with Android Studio 1.x
I assume that you have a working installation of PhoneGap or Cordova CLI. In this post I use the Cordova CLI which is distributed as an npm package in a ready-to-use format (npm …
-
JPA 2.1 and UUID
Recently I came over to map a table in a Postgres Database that contains a UUID Column. With JPA 2.1 there is a very simple way to map this column to the java.util.UUID-Field in …
-
Java vs. C#: Inheritance of annotations
Recently a friend and I came over with the idea to blog a series of Java vs. C#. Everything related to this topic you’ll find on the internet is too superficial. We are experienced …
-
Static Code Blocks
In a presentation that I gave recently, I noticed that some of the participants never heard of static code blocks before. Static code blocks let you execute something at class …
-
Filter Requests with JEE 6 / 7
A tiny but shiny improvement with Java EE 6 was the @WebFilter – Annotation which made the filtering and manipulating of requests very easy: No more …
Dazu habe ich nichts geschrieben.