Articles


Written by Per Minborg

The ProposalA new JEP has been proposed by Brian Goetz that would simplify the writing of Java applications. The proposal is to introduce Local Variable Type Inference, a feature that
Read Article
Written by Per Minborg

Learn How to Declare Private and Protected Methods in Java 8 InterfacesWhen Java 8 was introduced, we could use default methods in interfaces. The main driver for this feature was
Read Article
Written by Per Minborg

What is Object Resurrection?A Java object is eligible for Garbage Collection when no other object references the object. When the JVM:s Garbage Collector eventually is about to remove an unused
Read Article
Written by Per Minborg

Expose Your Classes DynamicallyDuke and Spire exposing another look... When I was a Java newbie, I remember thinking that there should be a way of removing or hiding methods in my
Read Article
Written by Per Minborg

Components are Good!Spire and Duke is plugging in...A couple of years ago when I worked in the telecom industry, I spent time cleaning up Java code that mixed the concept
Read Article
Written by Per Minborg

BackgroundOne of the most distinguished feature of us programmers is that we are inherently lazy. Not in a bad way that we do not want to work, but in a
Read Article
Written by Per Minborg

Escape Analysis AftermathMy post on Java Escape Analysis has triggered a lot of interest. I made a follow up post on the effect of inlining on Escape Analysis.A company that
Read Article
Written by Per Minborg

BackgroundIn my previous post, I wrote about Escape Analysis and how the JVM can allocate non-escaping objects on the stack rather than on the heap. I immediately got a very
Read Article
Written by Per Minborg

BackgroundI am working on the Open Source project Speedment and for us contributors, it is important to use code that people can understand and improve. It is also important that
Read Article
Written by Per Minborg

Database Connectivity Now and ThenSpire and Duke adding stuffto a database.I remember back in the old (Java) days, when we were sitting up late nights and experimented a lot with
Read Article
Written by Per Minborg

Mapping StreamsWhen I wrote my first Java database application back in the late 90's, I had to do everything myself. There was a lot of code, error capturing and object conversions
Read Article
Written by Per Minborg

BackgroundIn some of my posts, I have talked about calculating n-factorial (i.e. n!) and I have received some comments about performance. In my post Compute factorials using Java 8 streams, I
Read Article