Recent Posts

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 »