The Foojay Java User Group World Tour has already brought us to a lot of different countries virtually all over the world. But for this episode, the host decided to stay at home in Belgium. The Belgium JUG (BeJUG) started in 1997 and was the birthplace of Devoxx, Devoxx4Kids, and VoxxedDays. And in our capital Brussels, we’ve been able to …
Read More »Blog Layout
Class Loader Hierarchies
Understanding class loader hierarchies is essential when developing Java agents, especially if these agents are instrumenting code. In my Instrumenting Java Code to Find and Handle Unused Classes article, I instrumented all classes with an agent and used a Store class in this newly added code: A challenge here is that all instrumented classes will use the Store. We, therefore, …
Read More »Java String Templates Today
In our last article, we introduced you to the Manifold project and how it offers a revolutionary set of language extensions for Java, including the ability to parse and process JSON files seamlessly in Java. Today, we will take a look at another exciting feature of the Manifold project: string templates. But before we get to that, some of the …
Read More »FP in Kotlin: Defining a Pipe Operator
There’s no support for the pipe operator |> in Kotlin, so we have to come up with a custom and clean implementation for this function. Defining a Pipe Operator Next, one consistent and clean implementation is given for a pipe operator in Kotlin. Finding a Suitable Symbol First, I wanted to use the |> pipe symbol commonly used in functional …
Read More »Get your ticket to J-spring 2023, 21 Juni as Jaarbeurs Utrecht
Get ready to spring into action and unlock the latest in Java development at J-Spring 2023! We’re excited to bring you a brand new edition of this must-attend event for the Java community, packed with cutting-edge insights, inspiring keynotes, and hands-on workshops. Get ready to spring into action and unlock the latest in Java development at J-Spring 2023! We’re excited …
Read More »Java is Very Fast, If You Don’t Create Many Objects
This article looks at a benchmark passing events over TCP/IP at 4 billion events per minute using the net.openhft.chronicle.wire.channel package in Chronicle Wire and why we aim to avoid object allocations. One of the key optimisations is creating almost no garbage. Allocation is supposed to be a very cheap operation and garbage collection of very short lived objects is also …
Read More »Resilience in Coding: Miro Wengner on Thriving in the Software Industry
In this insightful discussion, we sit down with Miro Wengner, an accomplished software engineer with a deep-rooted affinity for Java. Miro shares his professional journey, highlights the significant challenges in the field, and reflects on the key moments that shaped his career. Profile Twitter: https://twitter.com/miragemiko LinkedIn: https://www.linkedin.com/in/mwengner/ GitHub https://github.com/mirage22 Home Page: https://www.wengnermiro.com/ Fun fact: When I was in my early …
Read More »JavaFX Links of May 2023
Again a busy month in JavaFX-world! Here is a nice list with links for your reading and clicking pleasure! This is the summary of the #LinksOfTheWeek as published on jfx-central.com in May 2023. JavaFX Core JavaFX 21-ea+17 is available for download from GluonHQ or from Maven central. Johan Vos believes it’s time to deprecate Java Swing: “It doesn’t make sense …
Read More »Boosting Similarity Search with Real-time Stream Processing
The goal of similarity search and vector databases is to find similar results to the search query for unstructured data, such as text, images and videos. The unstructured data first is vectorised, and stored in a vector format. There are publicly available tools to create vectors from unstructured data, similarly, there are vector databases to store and perform similarity searches. …
Read More »Managing Data Residency: The Demo
I explained the concepts and theory behind Data Residency in a previous post. It’s time to get our hands dirty and implement it in a simple demo. The sample architecture In the last section of the previous post, I proposed a sample architecture where location-based routing happened at two different stages: The API Gateway checks for an existing X-Country header. …
Read More »