Table of Contents Here’s the flow:Virtual Threads for Massive ParallelismSpring AI Prompt CallProcessing in BatchesHandling Errors GracefullyProcess Results in BulkFull ImplementationStay curious! TL;DR: You’re building an AI-powered app that needs to send lots of prompts to OpenAI. Instead of sending …
-
How Deep Netts and Java AI Transformed Particle Physics at US DoE, Jefferson Lab
At the intersection of nuclear physics and artificial intelligence, Jefferson Lab is leveraging Java-based AI to overcome one of the most computationally intense challenges in modern science: reconstructing particle trajectories from high-frequency electron scattering experiments. Each second, over 16,000 interactions …
-
How to Deploy a Vaadin Application as a WAR on Tomcat 11
Table of Contents Step 1: Download Tomcat 11Step 2: Create a New Vaadin ProjectStep 3: Adjust the pom.xmlStep 4: Update the Spring Boot Application ClassStep 5: Build the Application for ProductionStep 6: Deploy the WAR to TomcatConclusion If you want to …
-
What is RAG, and How to Secure It
Table of Contents Why use RAGHow RAG Works1. Retrieval2. GenerationSecurity implications of using RAGPrompt injection through retrieved contentData poisoningAccess control gaps in retrievalLeaking PII to third-party modelsCaching risks and session bleedContradictory or low-quality informationProactive and remediation strategies for securing RAGSanitize …
-
GenAI blood, sweat, and tears: Loading data to Pinecone
Table of Contents Getting startedIssue #1: APIs, SDKs, and rapid changeIssue #2: ConfigIssue #3: JSON formatIssue #4: Loading data to Pinecone1. Metadata keysAlternative embeddings – Book descriptionsWrapping up!Resources As someone who is pretty familiar with relational and graph databases, I …
-
Building FormPilot: My Journey Creating an AI-Powered Form Filler with RAG, LangChain4j, and Ollama
Table of Contents The InspirationThe ArchitectureGetting Started: Setting Up Your EnvironmentPart 1: Installing and Running Ollama LocallyPart 2: Creating the Spring Boot Project via Spring InitializrImplementing RAG with LangChain4jThe Magic of LangChain4j’s @AiServiceIntegrating with OllamaBuilding the Chrome ExtensionSetting up the …
-
Local AI with Spring: Building Privacy-First Agents Using Ollama
Table of Contents IntroductionConfiguring OllamaSpring AI + Ollama: a perfect match!Setting up the projectEnough talk, show me the codeA quick detour on FastMCPConclusion Introduction Building local AI agents with Spring AI and Ollama has emerged as a game-changer for developers …
-
Semantic Search with Spring Boot & Redis
Table of Contents Redis as a Vector DatabaseRedis OM SpringDatasetBuilding the Application0. GitHub Repository1. Add the required dependencies2. Define the Movie entity3. Repository Interface4. Search Service5. Movie Service for Data Loading5. Search Controller6. Application Bootstrap7. Sample RequestsWrapping upMore AI ResourcesStay …
-
You’re Invited to IntelliJ IDEA Conf 2025!
Table of Contents We are excited to invite you to IntelliJ IDEA Conf 2025, a free virtual event. We are excited to invite you to IntelliJ IDEA Conf 2025, a free virtual event. IntelliJ IDEA Conf is a celebration of …
-
Improving Maven’s dependency:analyze… or not
Table of Contents The mvn dependency:analyze commandSpring Boot startersBringing the maven-dependency-analyzer into the modern ageConclusion Recently, my good friend Richard Fichtner advised using the mvn dependency:analyze command to get rid of declared but unused dependencies: There is another use case …
-
Breaktime Tech Talks (Ep39): Why embedding models should match + Advice for starting a blog
Table of Contents Why embedding models should matchDifferences in similarity searchAdvice for starting a blogWrapping up! This is episode 39 of the Breaktime Tech Talks podcast. I’m at a conference this week presenting on a variety of different topics, but …