Web App Startup in 3ms with RIFE2 and GraalVM

RIFE2 applications already launch quickly with a regular JVM thanks merely calling Java methods, lambdas and doing object instantiations at startup. There are no annotations to scan for, nor any declarations or config files to parse and resolve. The RIFE2 v1.3.0 release introduced experimental support for GraalVM Ahead-Of-Time compilation with native-image, reducing the startup time of the bootstrap project from …

Read More »

An Introduction to Scoped Values in Java

After moving to the six-month release cadence, the Java language has entered a rapid development process. While the process introduces many new features, these new features sometimes cause updates to existing APIs and sometimes result in the development of new APIs. An example of the second is Scoped Values which has been included in the JDK since Java 20 as …

Read More »

Java Sealed Classes in Action: Building Robust and Secure Applications

Java sealed classes were introduced in Java 15 as a way to restrict the inheritance hierarchy of a class or interface. A sealed class or interface restricts the set of classes that can implement or extend it, which can help prevent bugs and make code more maintainable. Suppose you’re building an e-commerce application that supports different payment methods, such as …

Read More »

Foojay Podcast #14: Debugging Tools and Skills for Fun and Profit

Let’s talk about debugging and observability. We work with debugging all the time, but how well do we know this common practice? Observability, monitoring, and debugging at scale for your production… Guests A lot of rubber ducks Johannes Bechberger JVM and profiler developer Worked on the JDWP protocol and profiling https://github.com/parttimenerd https://twitter.com/parttimen3rd https://mastodon.social/@parttimenerd  AsyncGetStackTrace: A better Stack Trace API for …

Read More »

What are you Missing by Debugging in VS Code?

In the first chapter of my debugging book, I discuss IDE debugging. In that chapter, I mostly talk about IntelliJ/IDEA. People often ask me why I didn’t write as much about VS Code… The reason is that there isn’t much to write about. Its debugger is simpler for better and for worse. It isn’t as powerful as other IDEs. I …

Read More »

A Quick Look At Faces (JSF) 4.0 In Jakarta EE 10

Jakarta EE 10 shipped with the fourth major release of its component based web framework Jakarta Faces. Hitherto known as Jakarta Server Faces, and Java Server Faces before that, Jakarta Faces, or just Faces, version 4.0 is the first major version with API change since version 2.3 in Java EE 8. Among the major changes in this version are the following. …

Read More »

Still Time to Schedule Your Holiday for 2038

It’s still more or less the beginning of the year, where you may want to start scheduling your holidays until the end of it. And I decided to go a step further and I’ve already planned those for 2038! Why? Well, some time ago I gave a presentation to students, when I realized they had no idea what I was …

Read More »

Migrating Applications to TornadoVM v0.15 (Part 1)

TornadoVM 0.15 introduced changes at the API level with the aim of making the exposed operations more comprehensive to the programmers. It is imperative after all to get an understanding of how to use the TornadoVM API, as it includes very powerful operations, such as expressing parallelism, chaining Java methods (tasks) for deployment on heterogeneous hardware, configuration of the data …

Read More »

How Behaviour Driven Development Works Well with Event Driven Architectures

Behaviour Driven Development (BDD) and Event Driven Architecture (EDA) work well together as they complement each other’s strengths and weaknesses. Using both can result in a shorter time to market for new functionality and a more maintainable system. Behaviour Driven Development (BDD) encourages a common language between users and developers in describing requirements in a form the users can understand …

Read More »

SBOMs: First Steps in a New Journey for Developers

This article is the first in a series about SBOMs, software supply chains, the government and you. Buckle up – it’s going to be a wild ride. Luckily there is cake to see you through. Software bill of materials, anyone? A year ago, most developers had not heard of the ‘SBOM’ acronym. Indeed, related terms like “software supply chain” or …

Read More »