<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>LLM on JAVAPRO International</title><link>https://javapro-en.svenruppert.com/tags/llm/</link><description>Recent content in LLM on JAVAPRO International</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Wed, 08 Apr 2026 07:00:02 +0000</lastBuildDate><atom:link href="https://javapro-en.svenruppert.com/tags/llm/index.xml" rel="self" type="application/rss+xml"/><item><title>High-Performance Vector-Search Grids with Java</title><link>https://javapro-en.svenruppert.com/high-performance-vector-search-grids-with-java/</link><pubDate>Wed, 08 Apr 2026 07:00:02 +0000</pubDate><guid>https://javapro-en.svenruppert.com/high-performance-vector-search-grids-with-java/</guid><description>&lt;p&gt;&lt;a href="https://youtu.be/MRSdUfnXgQE"&gt;&lt;figure class="post-figure"&gt;
 &lt;img src="https://javapro-en.svenruppert.com/uploads/2026/03/2026-Magazin-Artikel-Banner-1024x213.png" alt="" loading="lazy" decoding="async"&gt;
 
 
 
&lt;/figure&gt;
&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The rapid rise of Generative AI has fundamentally changed how modern systems are designed. While much of the attention has focused on large language models and inference pipelines, the real differentiator in production systems lies elsewhere: in the infrastructure that delivers context to those models. Retrieval-Augmented Generation (RAG) has become the de facto pattern for enterprise GenAI. It relies on fast, scalable access to embeddings, metadata, and relationships. Yet for Java developers, building such systems at scale has remained a challenge. External vector databases introduce latency, fragmentation, and operational complexity. Distributed caches struggle with memory inefficiency and serialization overhead. Traditional databases cannot handle high-dimensional similarity search at the required speed.&lt;/p&gt;</description></item><item><title>AI without spaghetti: Clean architecture in the age of AI</title><link>https://javapro-en.svenruppert.com/ai-without-spaghetti-clean-architecture-in-the-age-of-ai/</link><pubDate>Tue, 17 Mar 2026 07:00:01 +0000</pubDate><guid>https://javapro-en.svenruppert.com/ai-without-spaghetti-clean-architecture-in-the-age-of-ai/</guid><description>&lt;p&gt;&lt;a href="https://schedule.jcon.one/2026/session/1052623"&gt;&lt;figure class="post-figure"&gt;
 &lt;img src="https://javapro-en.svenruppert.com/uploads/2026/03/2026-Magazin-Artikel-Banner-1024x213.png" alt="" loading="lazy" decoding="async"&gt;
 
 
 
&lt;/figure&gt;
&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="when-just-ship-it-turns-into-lasagna-code"&gt;When “Just ship it” turns into lasagna code&lt;/h2&gt;
&lt;p&gt;We start with a familiar scene: a small experiment that grows faster than its architecture can handle. This is exactly the kind of situation where clean architecture becomes essential. Like layering pasta without checking the recipe, we kept adding features until the structure began to wobble.&lt;/p&gt;
&lt;p&gt;At first everything seems perfectly reasonable. A quick integration with an API, a prompt that produces surprisingly good results. Suddenly the prototype starts solving real problems. The codebase grows organically: a helper class here, a service there.  Maybe a controller that does just a little bit more than it probably should.&lt;/p&gt;</description></item><item><title>Bring AI into your Jakarta EE apps with LangChain4J-CDI (formerly SmallRye-LLM)</title><link>https://javapro-en.svenruppert.com/bring-ai-into-your-jakarta-ee-apps-with-langchain4j-cdi-formerly-smallrye-llm/</link><pubDate>Wed, 25 Feb 2026 07:00:01 +0000</pubDate><guid>https://javapro-en.svenruppert.com/bring-ai-into-your-jakarta-ee-apps-with-langchain4j-cdi-formerly-smallrye-llm/</guid><description>&lt;p&gt;&lt;strong&gt;Goal&lt;/strong&gt;: This article will demonstrate how to add AI features to a Jakarta EE / MicroProfile application using &lt;strong&gt;LangChain4J‑CDI&lt;/strong&gt;, with simple to implement examples that runs on Payara, WildFly, Open Liberty, Helidon, Quarkus or any CDI 4.x compatible runtime.&lt;/p&gt;
&lt;h2 id="what-is-langchain4j-cdi"&gt;What is LangChain4J-CDI?&lt;/h2&gt;
&lt;p&gt;Langchain4J is a Java library that simplifies the integration of AI and LLMs easier, and with their feature of AI services it provides a declarative and type-safe API for developers to define interfaces that represent AI services, abstracting away the complexities of direct LLM communication&lt;/p&gt;</description></item><item><title>Solutions to achieve desired results from Generative AI Models</title><link>https://javapro-en.svenruppert.com/solutions-to-achieve-desired-results-from-generative-ai-models/</link><pubDate>Wed, 10 Dec 2025 07:00:03 +0000</pubDate><guid>https://javapro-en.svenruppert.com/solutions-to-achieve-desired-results-from-generative-ai-models/</guid><description>&lt;h2 id="rise-of-generative-ai"&gt;&lt;strong&gt;Rise of Generative AI&lt;/strong&gt;&lt;/h2&gt;
&lt;p&gt;Generative AI (GenAI) has gained significant prominence in the last couple of years. This technological breakthrough has created the possibility of integrating various innovative use cases into applications across domains.  Organizations of all sizes, small and large, have started exploring, experimenting and adopting GenAI. Tools, frameworks and platforms are rapidly evolving and allow application developers to easily integrate GenAI capabilities into their existing applications or to build new innovative applications leveraging GenAI. There are lots of options available – GenAI capabilities available as services, foundation models, open-source models and model provider platforms that allow hosting of models.&lt;/p&gt;</description></item><item><title>Building Local LLM AI-Powered Applications with Quarkus, Ollama, and Testcontainers</title><link>https://javapro-en.svenruppert.com/build-local-llm-ollama-quarkus-testcontainers/</link><pubDate>Tue, 09 Sep 2025 07:00:01 +0000</pubDate><guid>https://javapro-en.svenruppert.com/build-local-llm-ollama-quarkus-testcontainers/</guid><description>&lt;p&gt;Traditionally, many AI-powered applications rely on cloud-based APIs or centralized services for model hosting and execution. While this approach has its advantages, such as scalability and ease of use, it also introduces challenges around latency, data privacy, and dependency on third-party providers.&lt;/p&gt;
&lt;p&gt;This is where local AI models shine. By running models directly within your application&amp;rsquo;s infrastructure, you gain greater control over performance, data security, and deployment flexibility. However, building such systems requires the right tools and frameworks to bridge the gap between traditional software development and AI model integration.&lt;/p&gt;</description></item><item><title>Evaluating RAG Pipelines with the RAG Triad</title><link>https://javapro-en.svenruppert.com/evaluating-rag-pipelines-with-the-rag-triad/</link><pubDate>Wed, 14 May 2025 07:00:03 +0000</pubDate><guid>https://javapro-en.svenruppert.com/evaluating-rag-pipelines-with-the-rag-triad/</guid><description>&lt;p&gt;Retrieval-Augmented Generation (RAG) emerged as a dominant framework for feeding Large Language Models (LLMs) the context beyond the scope of their training data and enabling LLMs to respond with more grounded answers and fewer hallucinations based on that context.&lt;/p&gt;
&lt;p&gt;However, designing an effective RAG pipeline can be challenging. You need to answer questions such as:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;How should you parse and chunk text documents for vector embedding? What chunk size and overlay size should you use?&lt;/li&gt;
&lt;li&gt;What vector embedding model should you use?&lt;/li&gt;
&lt;li&gt;What retrieval method should I use to fetch the relevant context? How many documents should you retrieve by default? Does the retriever actually manage to retrieve the applicable documents?&lt;/li&gt;
&lt;li&gt;Does the generator actually generate content that is in line with the retrieved context? What parameters (model, prompt template, temperature) work better?&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The only way to objectively answer these questions is to measure how well the RAG pipeline works, but what exactly do you measure, and how do you measure it? This is the topic I&amp;rsquo;ll cover here.&lt;/p&gt;</description></item><item><title>Local AI with Java: AI Integration Without Cloud Dependency</title><link>https://javapro-en.svenruppert.com/local-ai-with-java-ai-integration-without-cloud-dependency/</link><pubDate>Fri, 02 May 2025 07:00:03 +0000</pubDate><guid>https://javapro-en.svenruppert.com/local-ai-with-java-ai-integration-without-cloud-dependency/</guid><description>&lt;p&gt;The future of artificial intelligence is local. Increasingly, companies are turning to local AI models to ensure data privacy, offline capabilities, and independence from cloud providers. At &lt;a href="https://2025.europe.jcon.one/"&gt;JCON EUROPE 2025&lt;/a&gt;, the two-hour “&lt;a href="https://schedule.jcon.one/session/894517"&gt;AI-based optimization in expedition planning – a practice-oriented workshop&lt;/a&gt;” with Sven Ruppert will demonstrate exactly how to implement this in Java: high-performance, privacy-friendly AI features – directly in your own application, entirely without cloud services.&lt;/p&gt;
&lt;h2 id="focus-on-the-open-source-project-expedition-planner"&gt;Focus on the Open-Source Project “Expedition Planner”&lt;/h2&gt;
&lt;p&gt;At the center is the open-source project &lt;strong&gt;“Expedition Planner&lt;/strong&gt;”, a Java-based web application designed for planning and organizing expeditions. However, this isn’t just theory: participants will work on real-world use cases, integrating local AI models with &lt;strong&gt;Ollama&lt;/strong&gt;, utilizing &lt;strong&gt;Langchain4j&lt;/strong&gt; and &lt;strong&gt;Retrieval Augmented Generation (RAG)&lt;/strong&gt; to optimize task planning and equipment lists intelligently.&lt;/p&gt;</description></item><item><title>AI Tools for Jakarta EE</title><link>https://javapro-en.svenruppert.com/ai-tools-for-jakarta-ee/</link><pubDate>Thu, 24 Apr 2025 23:42:38 +0000</pubDate><guid>https://javapro-en.svenruppert.com/ai-tools-for-jakarta-ee/</guid><description>&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=sdppIrhwbKk&amp;amp;list=PLFeSAZzYdUodZjQy6a3pCBl43UUem8_E3&amp;amp;index=16"&gt;&lt;figure class="post-figure"&gt;
 &lt;img src="https://javapro-en.svenruppert.com/uploads/2025/03/Magazin-Artikel-Banner-2-1024x214.jpg" alt="" loading="lazy" decoding="async"&gt;
 
 
 
&lt;/figure&gt;
&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;Artificial Intelligence (AI) is transforming the world of software development, including Jakarta EE. Traditionally, developers relied on project generators, visual designers, and IDE auto-completion to build applications. However, these tools often lacked adaptability, context awareness, and efficiency. AI-powered tools such as &lt;strong&gt;Payara Starter&lt;/strong&gt; and &lt;strong&gt;Jeddict AI Assistant&lt;/strong&gt; are now addressing these limitations, accelerating development workflows, and empowering developers to focus on innovation. This article explores how these tools enhance Jakarta EE development, using a conference application as a practical example. Additionally, it discusses future possibilities, including AI assistants integrated with Payara Server for server setup and diagnostics.&lt;/p&gt;</description></item><item><title>Build AI Apps and Agents in Java: Hands-On with LangChain4j</title><link>https://javapro-en.svenruppert.com/build-ai-apps-and-agents-in-java-hands-on-with-langchain4j/</link><pubDate>Wed, 23 Apr 2025 07:00:02 +0000</pubDate><guid>https://javapro-en.svenruppert.com/build-ai-apps-and-agents-in-java-hands-on-with-langchain4j/</guid><description>&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=bLX9IChLWSc&amp;amp;list=PLFeSAZzYdUodZjQy6a3pCBl43UUem8_E3&amp;amp;index=15"&gt;&lt;figure class="post-figure"&gt;
 &lt;img src="https://javapro-en.svenruppert.com/uploads/2025/03/Magazin-Artikel-Banner-2-1024x214.jpg" alt="" loading="lazy" decoding="async"&gt;
 
 
 
&lt;/figure&gt;
&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;LangChain4j is a java library to make &lt;strong&gt;interactions with AI models and LLMs in Java&lt;/strong&gt; easy, with unified APIs that wrap different models. It also provides tools to let you build more &lt;strong&gt;complex use cases on top of basic functionality&lt;/strong&gt;. At this 2nd anniversary of LangChain4j, we are thrilled to give you a walkthrough of the functionality that enables you to build basic and advanced AI-powered apps in Java.&lt;/p&gt;</description></item><item><title>1BRC with AI - curious and curiouser said the LLM</title><link>https://javapro-en.svenruppert.com/maximize-productivity-with-ai-tools-in-java-development/</link><pubDate>Wed, 15 Jan 2025 11:48:56 +0000</pubDate><guid>https://javapro-en.svenruppert.com/maximize-productivity-with-ai-tools-in-java-development/</guid><description>&lt;blockquote class="pullquote"&gt;
 &lt;span class="pullquote-mark" aria-hidden="true"&gt;“&lt;/span&gt;
 &lt;div class="pullquote-body"&gt;&lt;p&gt;&lt;em&gt;Did you try turning it off and on first?&lt;/em&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/blockquote&gt;&lt;p&gt;&lt;em&gt;(I promise this is the last 1BRC-related post). Read on to discover how large language models (LLMs) performed in generating Java code, their strengths in context-aware development, and challenges such as hallucinations and nuanced errors. Learn what makes a good AI dev tool and what makes a great IDE integration.&lt;/em&gt;&lt;/p&gt;
&lt;hr&gt;
&lt;blockquote class="pullquote"&gt;
 &lt;span class="pullquote-mark" aria-hidden="true"&gt;“&lt;/span&gt;
 &lt;div class="pullquote-body"&gt;&lt;/div&gt;
&lt;/blockquote&gt;&lt;p&gt;A definition of insanity is repeating an action and expecting a different outcome.  As developers, we’re used to doing that :-)  It’s part of our operating manual. &lt;/p&gt;</description></item><item><title>My Top 10 Principles for getting the best from AI (for developers)</title><link>https://javapro-en.svenruppert.com/my-top-10-principles-for-getting-the-best-from-ai-for-developers/</link><pubDate>Mon, 02 Dec 2024 11:56:54 +0000</pubDate><guid>https://javapro-en.svenruppert.com/my-top-10-principles-for-getting-the-best-from-ai-for-developers/</guid><description>&lt;p&gt;&lt;em&gt;AI tools for developers: principles, insights, and the importance of clean code.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Every day, I encounter a new AI tool, whether a new capability is added to an existing tool or an entirely new offering. I actively use several AI tools, including ChatGPT, Grammarly, and Amazon Q Developer, each serving different purposes. I pay for pro access to ChatGPT and Grammarly, though I sometimes consider switching to Claude.ai, which occasionally proves invaluable. s a view of AI tools for developers: my principles, insights and ultimately the realisation that development practises such as clean code is more essential than ever&lt;/p&gt;</description></item></channel></rss>