DevWorx - Blog

Beware - The Java ForkJoinPool in Web Applications.

The behaviour of Java’s ForkJoinPool is not always what it seems when you use it in a web application hosted in Apache Tomcat / Jetty and can lead to some surprising consequences. In this blog we explore some 'missing classpath resource' issues that can be caused by reliance on the ForkJoinPool Classloader in Web Applications. The Mystery of the Missing Classpath Resources Embedding resources in your classpath is a typical way to ensure that you...

Apache Spark on Java 11

Java 11 is the latest Long-Term-Support release version and all users are actively encouraged to upgrade. Hopefully, if you are still running Java 8 (or earlier) at this point, you have already started looking at some of the upgrade strategies available. There are excellent distributions available for you to choose from. Unfortunately, some of the libraries and frameworks I use on a daily basis (such as Apache Spark) is not quite ready yet as far...