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 »Classic Layout
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 »Sustainability Starts with Your Runtime: Meet a Green JVM
Author: Anthony Layton Original post on Foojay: Read More Table of Contents Sustainable engineering in action Cost and carbon reduction: an illustrative example Net-zero goals start at the platform levelReady to see the difference? Reducing spend in the cloud is a top priority for many organizations, and a high-performance Java platform can help cloud cost reduction efforts. These same optimizations can help …
Read More »The Great Data Reimagination: From Static to Agile in the AI Era
Author: Karin Lauria Original post on Foojay: Read More Table of Contents The Data Architecture Identity CrisisThe Adaptive Approach: Prioritizing Developer SpeedAI-Native Platforms Are the Future We’re in the middle of a fundamental change in how enterprise software works. In the next decade, your database will become your AI. Just five years ago, choosing the right kind of database to …
Read More »Testing an OpenRewrite Recipe
Author: Nicolas Frankel Original post on Foojay: Read More Table of Contents The naive approachThe nominal approachDon’t forget cyclesCriticismsConclusion For the last two weeks, I’ve kicked the tires of OpenRewrite. At first, I created a recipe to move Kotlin source files as per the official recommendations with a set package name. I then improved the recipe to compute the root …
Read More »Foojay Podcast #75: JCON Report, Part 4 – Tips and Tricks for Java Devs
Author: Frank Delporte Original post on Foojay: Read More Table of Contents VideoPodcast (audio only)Content This is the final part of the JCON 2025 interviews with a lot of tips and tricks! In the three previous podcasts, we featured interviews from the JCON conference on “Being a better Java developer,” “Evolutions in Java,” and “How to use AI with Java.” …
Read More »New AI Conference For And By Developers
Author: Geertjan Wielenga Original post on Foojay: Read More AI4DEVS, September 19 in Amsterdam, is created for and by developers working with AI technologies. Our mission is simple: share practical, usable knowledge with real use cases and code. Whether you’re an experienced AI engineer or just starting to explore machine learning in your applications, AI4DEVS offers valuable knowledge for every level. All the …
Read More »How I Improved Zero-Shot Classification in Deep Java Library (DJL) OSS
Author: Raphael De Lio Original post on Foojay: Read More Table of Contents TL;DR:What’s Zero-Shot Classification (and Why It Matters)Integrating a Zero-Shot Classification Model with the Deep Java Library Dependencies The Criteria Class Loading and using the model Using different modelsUsing a model that is not available in the Model Zoo Loading a local model with DJL Problem #1: No …
Read More »