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 »
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 »
Download and mount the DMG for the JDK (in my case Java 8u291) Copy the package file in a temp folder Open a terminal and extract »
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: HashMap& »
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 »
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 »
After upgrading IntelliJ the old directories still remain unused. I suggest to delete them. Configuration Files: ~/Library/Preferences/<Tool><Version> Cache: ~/Library/ »
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 »
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, »
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 »
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 »
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 »
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 »
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 »
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 »
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 com. »