Java
-
Getting version string from a Maven based web application
When you package a maven project, it will automatically generate a pom.properties file inside that will contains the version, artifactId…
Read More » -
Quasar and Akka – a Comparison
The actor model is a design pattern for fault-tolerant and highly scalable systems. Actors are independent worker-modules that communicate with…
Read More » -
What is Garbage Collection?
The following is an example from our Garbage Collection Handbook which will be published in the forthcoming weeks. In the meanwhile, take…
Read More » -
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 » -
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 » -
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 » -
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 » -
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 » -
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 »