-
Core Java
Constructors Must Be Code-Free
How much work should be done within a constructor? It seems reasonable to do some computations inside a constructor and…
Read More » -
Software Development
Neo4j: Finding all shortest paths
One of the Cypher language features we show in Neo4j training courses is the shortest path function which allows you…
Read More » -
Core Java
How to Access a Method’s Result Value From the Finally Block
While the JVM is a stack-based machine, the Java language doesn’t really offer you any way to access that Stack.…
Read More » -
Enterprise Java
Java EE, Docker and Maven (Tech Tip #89)
Java EE applications are typically built and packaged using Maven. For example, github.com/javaee-samples/javaee7-docker-maven is a trivial Java EE 7 application and shows the…
Read More » -
Software Development
Revisiting the First Rule of Performance Optimisation: Effects of Escape Analysis
In an earlier post I wrote about how to start optimising for performance. If you haven’t read the post I would…
Read More » -
Core Java
Immutable Infrastructure, hotdeploys, and the JVM
Do you deploy and undeploy your JVM-based applications (regardless of JVM container/no-container) in production? ie, when you have new versions…
Read More » -
Enterprise Java
Apache Camel Wire Tap Examples
If you want to monitor, debug, troubleshoot messages that are flowing through the route without the bother of permanently consuming…
Read More » -
Desktop Java
JavaFX, Project Jigsaw and JEP 253
So Java 9 may break your code… This is particularly likely if your project uses JavaFX because many customizations and…
Read More » -
Enterprise Java
Spring Integration Jdbc RowMapper Example
The JDBC inbound channel adapter’s basic function is to execute a SQL query, extract the data and pass the result…
Read More »