Classic Layout

Java 22 to 24: Level up your Java Code by embracing new features in a safe way

Author: Jonathan Vila Original post on Foojay: Read More Table of Contents Java introduces several new language features in the 22 to 24 versions which collectively simplify code, enhance documentation, and provide powerful tools for bytecode manipulation and advanced stream processing. This article shows you how to leverage these new features with simple examples. Rule S7466: Unnamed variable declarations should …

Read More »

MongoDB ACID Transactions With Java

Author: Tim Kelly Original post on Foojay: Read More Table of Contents What are MongoDB ACID transactions and when should you use them? But do you really need a transaction? Transaction APIs: Callback vs core When to use the callback API When to use the core API Setting up: A simple banking example Prerequisites Connecting and seeding dataWriting a transaction …

Read More »

AI Newsletter #1

Author: Miro Wengner Original post on Foojay: Read More Table of Contents There is a lot going on in today’s technological world, but the most intense and vibrant area is undoubtedly the field of artificial intelligence. After brainstorming, our Java Champion Education group agreed to create a newsletter with a 14 days cadence. In our newsletters, we will include a …

Read More »

Spring Cloud Stream: Event-Driven Architecture – Part 1

Author: Mahendra Rao B Original post on Foojay: Read More Table of Contents The Role of MessageBrokersFrameworks or Binder ImplementationsSpring Cloud Stream: The Solution Key Features: LightWeight Architecture with Spring Cloud Stream Transition to Spring Cloud Stream: Conclusion References Envision operating a successful e-commerce platform where every moment is crucial. Customers make purchases, adjust inventory levels, process payments, and dispatch …

Read More »

Foojay Podcast #76: DevBcn Report, Part 1 – Learn from the Community

Author: Frank Delporte Original post on Foojay: Read More Table of Contents VideoPodcast (Audio only)Content In early July, the DevBcn conference in Barcelona featured a diverse lineup of speakers, covering topics across multiple technology domains. Geertjan Wielenga took the camera and microphone with him to Spain. Together with Nacho Cougil and Jonathan Vila, two of the organizers, he spoke with …

Read More »

Video series “JavaFX In Action”, Part 5 with Cormac Redmond (KafkIO), Brian Schlining (Annotating the Deep-Sea Wildlife), Gerrit Grunwald (JavaFX Libraries), Dirk Lemmermann (JavaFX Libraries and Applications, JFX Central)

Author: Frank Delporte Original post on Foojay: Read More Table of Contents Cormac Redmond: KafkIO, the Kafka UI for Engineers and AdminsBrian Schlining: Annotating the Deep-Sea WildlifeGerrit Grunwald: Creator of Many Amazing JavaFX LibrariesDirk Lemmermann: Creator of JavaFX Libraries and Applications JavaFX Libraries JFX Central Senapt Applications This is the next part in the series of “JavaFX in Action” interviews. …

Read More »

How to Make a RAG Application With LangChain4j

Author: Tim Kelly Original post on Foojay: Read More Table of Contents Why use RAG?Use cases for RAGLangChain4J for RAGMongoDB for RAGPrerequisitesOur dependenciesSetting up MongoDB and our embedding store MongoDB setup Configuring the embedding store Creating our embedding modelConfiguring our chat modelHow to load our data Parameters Creating our content retrieverAsking questionsConclusion Retrieval-augmented generation, or RAG, introduces some serious capabilities …

Read More »

Understanding MCP Through Raw STDIO Communication

Author: David Parry Original post on Foojay: Read More Table of Contents Deep Dive into the Model Context ProtocolUnderstanding MCP Through Raw STDIO CommunicationWhy STDIO? The Power of Universal CommunicationUnderstanding the JSON-RPC Message Flow Client → Server: Initialization Request Server → Client: Initialization Response The Message Type Hierarchy Bidirectional Communication: Beyond Request-ResponseThe Complete STDIO Loop: Putting It All Together 1. …

Read More »

🚀 Document Your Spring Boot APIs with Redocusaurus in Minutes 🦕

Author: Vincent Vauban Original post on Foojay: Read More Table of Contents Introduction: Why Use Redocusaurus for Spring Boot? What Is Redocusaurus? Key Features of Redocusaurus Step 1: Generate Your OpenAPI File for Spring Boot Documentation Step 2: Set Up Redocusaurus for Your Spring Boot Docs Deploy Your Docs Anywhere with Ease Wrapping Up: Effortless Spring Boot Documentation with Redocusaurus …

Read More »

Getting Started With Scala

Author: Steve Wilcockson Original post on Foojay: Read More Why Scala? At Quantexa, we love Scala. This may be the first dedicated article on Foojay.io about Scala. I hope my colleagues and I can add more in due course. Scala is built on the Java Virtual Machine (JVM). For foojay.io readers, this is “stating the bleeding obvious,” but it means …

Read More »