foojay

Introducing a New Java DMX512 Library With Demo JavaFX User Interface

Author: Frank Delporte Original post on Foojay: Read More Table of Contents A Personal StoryAbout DMX512 and OFL What is DMX512 What is Open Fixture Library DMX512 Java Library My Test Setup Minimal Code Example Using Fixtures and Modes Detecting USB-to-DMX and IP-to-DMX interfaces DMX512 JavaFX Demo ProjectNext Steps In this post, I would like to inform you about a …

Read More »

Agent Memory with Spring AI & Redis

Author: Raphael De Lio Original post on Foojay: Read More Table of Contents You’re building an AI agent with memory using Spring AI and Redis. Unlike traditional chatbots that forget previous interactions, memory-enabled agents can recall past conversations and facts. It works by storing two types of memory in Redis: short-term (conversation history) and long-term (facts and experiences as vectors), …

Read More »

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 »