Core Java
-
Java compile in Java
In a previous post I wrote about how to generate a proxy during run-time and we got as far as…
Read More » -
Java A’s new Local-Variable Type Inference
News could hardly get more exciting than this, for a programming language aficionado! There is now a JEP 286 for…
Read More » -
Lambda of Lambda, if/else from an Optional
So I got frustrated with two limitations of the Optional interface in JDK 8. The first problem is that there…
Read More » -
@Autowired and optional dependencies
@Autowired annotation makes our lives easier. It also can result in decreased amount of code if we are using it…
Read More » -
Grouping, transforming and reduction with Java 8
1. Introduction In this previous post, I wrote about how we can group collections of objects with streams and grouping.…
Read More » -
Equality vs Identity?
When storing objects in a Set, it is important that the same object can never be added twice. That is…
Read More » -
How to Support Java 6, 8, 9 in a Single API
With jOOQ 3.7, we have finally added formal support for Java 8 features. This opened the door to a lot…
Read More » -
Simple Event Driven design
Overview Developers often ask about the performance or efficiency of a system or their code. What does this really mean?…
Read More » -
jcmd: One JDK Command-Line Tool to Rule Them All
I have referenced the handy JDK tool jcmd in several posts in the past, but focus exclusively on its usefulness…
Read More »