Martin Smelt

Java, What’s Old? Part I: Collections

Author: Anthony Goubard Original post on Foojay: Read More Table of Contents OptionalStatisticsLinkedHashMapWeakHashMapBitSet A few weeks ago, I had the honor to present at the Arnhem JUG in the Netherlands about “Java, What’s old?” In this series, I’m focusing on what’s old in the JDK, not that known, and can be useful. A few hidden gems in the JDK. Everything …

Read More »

Book Review: Writing for Developers

Author: Nicolas Frankel Original post on Foojay: Read More Table of Contents FactsChaptersPros and consSummary Disclaimer: This post includes affiliate links; I may receive compensation if you purchase the book from the different links provided in this post. This review is about Writing for Developers by Piotr Sarna and Cynthia Dunlop from Manning. I started my blog as a hobby …

Read More »

Ensuring Safe and Reliable AI Interactions with LLM Guardrails

Author: Brian Vermeer Original post on Foojay: Read More Table of Contents Understanding LLM guardrailsHow guardrails workEasily implementing guardrails with Quarkus Input guardrails Output guardrails Sanitizing LLM input and output Integrating Large Language Models (LLMs) into our applications is becoming increasingly popular. These models are extremely useful for creating content, searching documentation, and solving more complex problems. However, with great …

Read More »

Your Complete Guide to Diagnose Slow Queries in MongoDB

Author: Tim Kelly Original post on Foojay: Read More Table of Contents 1. MongoDB’s Query Profiler What we’ll need What is MongoDB’s Profiler? MongoDB Atlas Query Profiler in the Atlas UI A few important considerations MongoDB Database Profiler Let’s make something slow on purpose 2. Understanding execution plans with explain() What we’ll need What is explain()? Verbosity modes Let’s use …

Read More »

Sonar Connect Amsterdam 2025

Author: Jonathan Vila Original post on Foojay: Read More Table of Contents Code quality + Code security for Open Source & AI code Code quality + Code security for Open Source & AI code In the age of AI, ensuring code quality and code security is more critical than ever. Are you using the best methodologies to introduce GenAI in …

Read More »

How ReadyNow Improves Java Warmup Time

Author: Frank Delporte Original post on Foojay: Read More Table of Contents How ReadyNow achieves faster compilationsNormal startupWhat’s in the fileStartup with fileComparing the different runs Tier 1 compile counts Tier 2 Compile Counts Compiler queue run Conclusion This is the second blog post in a series on faster Java application warmup. The first blog post, Faster Java Warmup: CRaC …

Read More »

Java Concurrency Best Practices for MongoDB

Author: Vivekanandan Sakthivelu Original post on Foojay: Read More Table of Contents Lost updatesDirty readsNon-repeatable readsPhantom readsHow to avoid these issues Isolation Read concern Write concern In a multi-threaded, distributed environment like MongoDB, when clients execute queries concurrently, operations interleave with one another if they are not isolated, whether those operations involve single-document or multi-document operations. For instance, Client C1’s …

Read More »

Performance Best Practise No. 1: Optimize Database Operations

Author: Ondro Mihalyi Original post on Foojay: Read More Table of Contents How GlassFish helps with improving database performance Connection pool configuration JDBC batching Jakarta Persistence (JPA) batching Next Steps Database operations are a very critical part of most applications in regards of performance. There are multiple reasons why database operations can significantly contribute to lower performance: The database often …

Read More »

Intro to RAG: Foundations of Retrieval Augmented Generation, part 2

Author: Jennifer Reif Original post on Foojay: Read More Table of Contents GenAI systems as layersVector RAGGraph RAGAI AgentsModel Context Protocol (MCP)What should you choose?Wrapping up!Resources In the last post, we discussed the basics of Retrieval Augmented Generation (RAG) and how it enhances the capabilities of Large Language Models (LLMs) by integrating them with external knowledge sources. We also introduced …

Read More »