{"id":4060,"date":"2026-11-30T11:35:29","date_gmt":"2026-11-30T16:35:29","guid":{"rendered":"https:\/\/www.mymiller.name\/wordpress\/?p=4060"},"modified":"2026-11-20T23:44:00","modified_gmt":"2026-11-21T04:44:00","slug":"beyond-scheduled-crash-proof-jobs-jobrunr-9-spring-boot-4","status":"publish","type":"post","link":"https:\/\/www.mymiller.name\/wordpress\/spring_databases\/beyond-scheduled-crash-proof-jobs-jobrunr-9-spring-boot-4\/","title":{"rendered":"Beyond @Scheduled: Crash-Proof Multi-Step Background Jobs and AI Workflows with JobRunr 9 and Spring Boot 4"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Years ago, we covered <a href=\"https:\/\/www.mymiller.name\/wordpress\/springboot\/spring-boot-scheduling\/\">Spring Boot Scheduling<\/a> with <code>@Scheduled<\/code>\u2014and for single-instance cron jobs that take two seconds and carry zero side effects, <code>@Scheduled<\/code> is still hard to beat.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Then your application grows up. You deploy three replicas behind Kubernetes, add a four-step monthly invoicing or agentic LLM research workflow (calculate usage \u2192 generate PDF or call an LLM \u2192 charge card \u2192 send email), and a pod gets evicted right after step 3. With naive retries, the next worker starts from line one\u2014charging the customer twice or burning a second round of LLM tokens.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Featured on <em>A Bootiful Podcast<\/em> (November 19, 2026) with JobRunr creator <strong>Ronald Dehuysser<\/strong>, <strong>JobRunr 9<\/strong> (latest patch <strong><code>9.0.5<\/code><\/strong>, November 17, 2026) tackles this exact class of distributed Java problems using the PostgreSQL database you already run. In this guide, we will wire up <code>jobrunr-spring-boot-4-starter:9.0.5<\/code>, make multi-step pipelines crash-proof with <code>JobContext.runStepOnce(...)<\/code>, unpack v9&#8217;s new Gantt Job History charts and zero-config 7 ms PostgreSQL <code>LISTEN\/NOTIFY<\/code> triggering, flag the critical <code>v9.0.5<\/code> dashboard security patch (<code>GHSA-fm36-5jx4-vwhf<\/code>), and close with a crisp architecture matrix comparing <strong>Atomikos XA vs. JobRunr 9 vs. Temporal<\/strong>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">1. Spring Boot 4 + PostgreSQL Setup (<code>v9.0.5<\/code>)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">JobRunr 9 ships a dedicated Spring Boot 4 starter on Maven Central (<code>org.jobrunr:jobrunr-spring-boot-4-starter:9.0.5<\/code>) and persists job state directly in your existing PostgreSQL schema\u2014no ZooKeeper, Kafka, or separate scheduler cluster required.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>Security Note:<\/strong> Always target <strong><code>9.0.5<\/code><\/strong> or newer (never <code>9.0.0<\/code>\u2013<code>9.0.4<\/code>). Released November 17, 2026, <code>v9.0.5<\/code> fixes <strong><code>GHSA-fm36-5jx4-vwhf<\/code><\/strong>, a path traversal vulnerability in the dashboard&#8217;s <code>StaticFileHttpHandler<\/code> that allowed reading classpath resources when the dashboard was exposed without authentication. Even on <code>9.0.5<\/code>, bind the dashboard to <code>localhost<\/code> or put it behind authentication.<\/p>\n<\/blockquote>\n\n\n\n<pre class=\"wp-block-code\"><code>\/\/ build.gradle.kts\ndependencies {\n    implementation(\"org.springframework.boot:spring-boot-starter-webmvc\")\n    implementation(\"org.springframework.boot:spring-boot-starter-data-jpa\")\n    implementation(\"org.jobrunr:jobrunr-spring-boot-4-starter:9.0.5\")\n    runtimeOnly(\"org.postgresql:postgresql\")\n}<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code># application.yml\njobrunr:\n  background-job-server:\n    enabled: true\n    # JobRunr Pro v9 adaptive scaling &amp; prefetch options:\n    # work-distribution-strategy: prefetch-queue\n    # worker-capacity-policy: self-learning\n  dashboard:\n    enabled: true\n    port: 8000 # Never expose publicly without authentication (GHSA-fm36-5jx4-vwhf)\n  jobs:\n    metrics:\n      micrometer-observability:\n        enabled: true\n      otel-observability:\n        enabled: true<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">2. Crash-Proof Multi-Step Jobs with <code>JobContext.runStepOnce<\/code><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The standout pattern for modern billing jobs and multi-step AI pipelines is <strong><code>JobContext.runStepOnce(stepId, task)<\/code><\/strong>. Each completed step persists a checkpoint (<code>jr_step_&lt;stepId&gt;<\/code>) and its serialized return value alongside the job record in PostgreSQL.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If step 3 fails due to a transient downstream timeout\u2014or a Kubernetes node drains mid-execution\u2014JobRunr&#8217;s exponential backoff retry resumes the job, <strong>immediately skips steps 1 and 2<\/strong>, replays their persisted return values, and executes strictly from step 3 onward.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>package com.ghostprogrammer.jobs;\n\nimport org.jobrunr.jobs.annotations.Job;\nimport org.jobrunr.jobs.context.JobContext;\nimport org.springframework.stereotype.Service;\n\n@Service\npublic class InvoiceWorkflowService {\n\n    private final UsageService usageService;\n    private final PdfRenderer pdfRenderer;\n    private final PaymentGateway paymentGateway;\n    private final EmailClient emailClient;\n\n    public InvoiceWorkflowService(UsageService usageService,\n                                  PdfRenderer pdfRenderer,\n                                  PaymentGateway paymentGateway,\n                                  EmailClient emailClient) {\n        this.usageService = usageService;\n        this.pdfRenderer = pdfRenderer;\n        this.paymentGateway = paymentGateway;\n        this.emailClient = emailClient;\n    }\n\n    @Job(name = \"Invoice %1 for customer %0\", retries = 5)\n    public void generateAndChargeInvoice(String customerId, String billingPeriod, JobContext jobContext)\n            throws Exception {\n\n        String invoiceId = \"INV-\" + billingPeriod + \"-\" + customerId;\n\n        \/\/ Step 1: Expensive aggregation\u2014skipped on retry once checkpointed\n        long billableUnits = jobContext.runStepOnce(\"calculate-usage\",\n                () -&gt; usageService.calculateUnits(customerId, billingPeriod));\n\n        \/\/ Step 2: PDF generation (or expensive LLM synthesis step)\n        String pdfStorageKey = jobContext.runStepOnce(\"render-pdf\",\n                () -&gt; pdfRenderer.renderAndUpload(invoiceId, billableUnits));\n\n        \/\/ Step 3: Always pair external side effects with a deterministic idempotency key\n        String receiptId = jobContext.runStepOnce(\"charge-card\",\n                () -&gt; paymentGateway.charge(customerId, invoiceId, billableUnits));\n\n        \/\/ Step 4: Final customer notification\n        jobContext.runStepOnce(\"send-email\",\n                () -&gt; emailClient.sendInvoice(customerId, pdfStorageKey, receiptId));\n    }\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>One crucial idempotency rule:<\/strong> If the JVM crashes <em>inside<\/em> <code>charge-card<\/code> after Stripe approves the charge but milliseconds before JobRunr commits <code>jr_step_charge-card<\/code> to PostgreSQL, step 3 will run again on retry. Passing a deterministic idempotency key (<code>invoiceId<\/code>) to external payment or API providers closes that last narrow window cleanly\u2014and always keep <code>stepId<\/code> strings stable across deployments.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">3. Opening the Black Box: Gantt Job History Charts &amp; Dark Mode<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Ronald Dehuysser described JobRunr 9 around one core goal: <em>&#8220;opening the black box of background processing.&#8221;<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In both <strong>JobRunr OSS<\/strong> (<code>LGPL-3.0+<\/code>) and <strong>JobRunr Pro<\/strong>, every job detail page now toggles between the classic Timeline list and a zero-config <strong>Job History Chart<\/strong>\u2014a Gantt-style execution graph across attempts and <code>runStepOnce<\/code> checkpoints:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Hollow diamonds<\/strong> show checkpointed steps skipped cleanly on retry.<\/li>\n\n\n\n<li><strong>Red bars<\/strong> pinpoint exact failed steps.<\/li>\n\n\n\n<li><strong>Compact vs. Detailed<\/strong> and <strong>Compressed vs. Linear<\/strong> time axes immediately distinguish slow business code from long queue wait times.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Alongside system-aware <strong>Light\/Dark dashboard themes<\/strong>, v9 also adds proactive dashboard and log warnings whenever serialized job arguments grow too large (a classic anti-pattern when someone passes a 10 MB payload instead of a database ID).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">4. Zero-Config 7 ms PostgreSQL <code>LISTEN\/NOTIFY<\/code> &amp; Adaptive Workers (Pro v9)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In earlier JobRunr Pro releases, instant job triggering relied on UDP multicast\u2014which almost every Kubernetes CNI and managed cloud VPC blocks by default, forcing silent fallback to 15-second database polling.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">JobRunr Pro v9 replaces that with a pluggable <strong><code>EventBus<\/code><\/strong> (<code>EventTransport<\/code>) that <strong>automatically enables <code>PostgresEventTransport<\/code> (<code>LISTEN\/NOTIFY<\/code>)<\/strong> whenever your <code>StorageProvider<\/code> is PostgreSQL\u2014no extra beans, firewall tickets, or properties needed. On JobRunr&#8217;s published benchmark (20 jobs enqueued 1.5s apart on an idle server), the latency drop is dramatic:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Triggering Mode<\/th><th>Median Enqueue \u2192 Processing<\/th><th>Max Enqueue \u2192 Processing<\/th><\/tr><\/thead><tbody><tr><td><strong>PostgreSQL <code>LISTEN\/NOTIFY<\/code> (Zero-Config, Pro v9)<\/strong><\/td><td><strong>7 ms<\/strong><\/td><td><strong>19 ms<\/strong><\/td><\/tr><tr><td><strong>15-Second Polling Fallback (Multicast Blocked)<\/strong><\/td><td><strong>7.7 s<\/strong><\/td><td><strong>14.5 s<\/strong><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><em>(Operational tip: each worker holds 1 dedicated listener connection, background polling remains active as a safety net, and teams behind PgBouncer in transaction-pooling mode should route the listener over a direct session-mode connection.)<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Three more Pro v9 additions are built for heavy production clusters:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong><code>JobPrefetchQueue<\/code><\/strong> (<code>work-distribution-strategy=prefetch-queue<\/code>): Prefetches jobs in chunks ahead of worker completion so idle threads never stall on per-job DB round trips.<\/li>\n\n\n\n<li><strong><code>SelfLearningWorkerCapacityPolicy<\/code><\/strong> (<code>worker-capacity-policy=self-learning<\/code>): Continuously monitors DB connection wait time, CPU load, and JVM memory pressure to throttle worker concurrency automatically under strain.<\/li>\n\n\n\n<li><strong>Pausable Batch Jobs (<code>BatchJobManager.pauseBatchJob(...)<\/code>):<\/strong> Lets operators or automated circuit breakers pause a failing 50,000-job batch mid-flight via UI, REST, or Java without losing already-completed children.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">5. Architecture Decision Matrix: Atomikos XA vs. JobRunr 9 vs. Temporal<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">With <em>A Bootiful Podcast<\/em> covering <strong>Temporal<\/strong>, <strong>Atomikos XA<\/strong>, and <strong>JobRunr 9<\/strong> back-to-back in November 2026, it is worth clarifying exactly where each tool shines in a Spring Boot 4 architecture:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Workload Tier<\/th><th>Recommended Engine<\/th><th>Primary Strength<\/th><th>Operational Footprint<\/th><\/tr><\/thead><tbody><tr><td><strong>Tier 1: Sub-second Multi-DB \/ DB+Broker Strict ACID<\/strong><\/td><td><strong>Atomikos XA<\/strong> (<code>transactions-spring-boot4-starter:6.0.1<\/code>)<\/td><td>Atomic 2PC commit\/rollback under <code>@Transactional<\/code>; zero dirty reads or Saga compensation logic.<\/td><td>Embedded JAR + shared RDBMS <code>LogCloud<\/code> for stateless pods.<\/td><\/tr><tr><td><strong>Tier 2: DB-Backed Cron, Batch &amp; Multi-Step Durable Jobs<\/strong><\/td><td><strong>JobRunr 9<\/strong> (<code>jobrunr-spring-boot-4-starter:9.0.5<\/code>)<\/td><td><code>runStepOnce<\/code> checkpoints, Gantt Charts, 7 ms PG <code>LISTEN\/NOTIFY<\/code>, and adaptive workers.<\/td><td><strong>Zero new infra<\/strong>\u2014runs right on your existing PostgreSQL DB.<\/td><\/tr><tr><td><strong>Tier 3: Multi-Day Stateful Sagas, Polyglot Workers &amp; Governed AI Harnesses<\/strong><\/td><td><strong>Temporal<\/strong> (<code>temporal-spring-boot-starter:1.40.0<\/code>)<\/td><td>Full event-sourced deterministic replay, zero-compute human-in-the-loop waits, polyglot workflows.<\/td><td>Dedicated Temporal Server cluster (or Temporal Cloud).<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">6. Upgrading from JobRunr 8? Quick Breaking-Change Checklist<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Replace removed v8 deprecated methods: <code>useMicroMeter<\/code> \u2192 <code>JobRunrConfiguration#useMetrics<\/code>, <code>withDetails<\/code> \u2192 <code>withJobLambda<\/code>, and Pro <code>withQueue<\/code> \u2192 <code>withPriorityQueue<\/code>.<\/li>\n\n\n\n<li>Remove legacy <code>jobrunr.multicast-group-address<\/code> config (replaced by pluggable <code>EventTransport<\/code>).<\/li>\n\n\n\n<li>Test fixtures now require <strong>JDK 17+<\/strong>, and v9 marks the <strong>final OSS major release supporting Java 8<\/strong>.<\/li>\n\n\n\n<li>Pin directly to <strong><code>9.0.5<\/code><\/strong> to pick up the <code>GHSA-fm36-5jx4-vwhf<\/code> dashboard patch.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Most Spring Boot teams do not need a heavy distributed workflow cluster just to make nightly billing jobs, webhook retries, and multi-step AI pipelines survive pod restarts. JobRunr 9.0.5 gives you checkpointed durable steps (<code>runStepOnce<\/code>), visual Gantt execution debugging, and\u2014on PostgreSQL Pro clusters\u20147 ms instant triggering without adding a single new moving piece to your infrastructure diagram.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Spring&#8217;s @Scheduled breaks down the moment pods scale out or a multi-step billing or LLM pipeline crashes mid-flight. Learn how JobRunr 9.0.5 + Spring Boot 4 brings runStepOnce checkpoints, Gantt execution charts, 7 ms PostgreSQL LISTEN\/NOTIFY, and dashboard security hardening.<\/p>\n","protected":false},"author":1,"featured_media":4074,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[435,448],"tags":[507,69,506,319],"series":[],"class_list":["post-4060","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-spring_databases","category-springboot","tag-batch","tag-java-2","tag-postgresql","tag-spring"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2026\/11\/jobrunr-9-spring-boot-4-durable-jobs-featured.jpg?fit=1376%2C768&ssl=1","jetpack-related-posts":[{"id":3954,"url":"https:\/\/www.mymiller.name\/wordpress\/spring-batch\/architecting-batch-systems-with-spring-boot-4-0-and-spring-framework-7-0\/","url_meta":{"origin":4060,"position":0},"title":"Architecting Batch Systems with Spring Boot 4.0 and Spring Framework 7.0","author":"Jeffery Miller","date":"April 20, 2026","format":false,"excerpt":"With the release of Spring Boot 4.0 and Spring Framework 7.0, the batch processing landscape has evolved to embrace Java 25, Jakarta EE 11, and built-in resilience patterns. This guide provides a professional architectural blueprint for setting up a high-performance Spring Batch server. 1. Technical Baseline Java: 17 (Baseline) \/\u2026","rel":"","context":"In &quot;Spring Batch&quot;","block_context":{"text":"Spring Batch","link":"https:\/\/www.mymiller.name\/wordpress\/category\/spring-batch\/"},"img":{"alt_text":"","src":"https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2025\/12\/Gemini_Generated_Image_mmtkyammtkyammtk.avif","width":350,"height":200,"srcset":"https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2025\/12\/Gemini_Generated_Image_mmtkyammtkyammtk.avif 1x, https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2025\/12\/Gemini_Generated_Image_mmtkyammtkyammtk.avif 1.5x, https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2025\/12\/Gemini_Generated_Image_mmtkyammtkyammtk.avif 2x, https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2025\/12\/Gemini_Generated_Image_mmtkyammtkyammtk.avif 3x"},"classes":[]},{"id":3893,"url":"https:\/\/www.mymiller.name\/wordpress\/spring_ai\/building-intelligent-apps-with-spring-ai\/","url_meta":{"origin":4060,"position":1},"title":"Building Intelligent Apps with Spring AI","author":"Jeffery Miller","date":"July 28, 2026","format":false,"excerpt":"In today's fast-paced world of software development, integrating artificial intelligence into applications is no longer just a trend\u2014it's a necessity. At the heart of this revolution is Generative AI, a type of artificial intelligence that can create new content, such as text, images, and code, in response to prompts. It's\u2026","rel":"","context":"In &quot;Spring AI&quot;","block_context":{"text":"Spring AI","link":"https:\/\/www.mymiller.name\/wordpress\/category\/spring_ai\/"},"img":{"alt_text":"","src":"https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2025\/08\/ai-generated-8273796_1280.avif","width":350,"height":200,"srcset":"https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2025\/08\/ai-generated-8273796_1280.avif 1x, https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2025\/08\/ai-generated-8273796_1280.avif 1.5x, https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2025\/08\/ai-generated-8273796_1280.avif 2x, https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2025\/08\/ai-generated-8273796_1280.avif 3x"},"classes":[]},{"id":3951,"url":"https:\/\/www.mymiller.name\/wordpress\/java\/scaling-streams-mastering-virtual-threads-in-spring-boot-4-and-java-25\/","url_meta":{"origin":4060,"position":2},"title":"Scaling Streams: Mastering Virtual Threads in Spring Boot 4 and Java 25","author":"Jeffery Miller","date":"April 20, 2026","format":false,"excerpt":"As a software architect, I\u2019ve seen the industry shift from heavy platform threads to reactive streams, and finally to the \"best of both worlds\": Virtual Threads. With the recent release of Spring Boot 4.0 and Java 25 (LTS), Project Loom's innovations have officially become the bedrock of high-concurrency enterprise Java.\u2026","rel":"","context":"In &quot;JAVA&quot;","block_context":{"text":"JAVA","link":"https:\/\/www.mymiller.name\/wordpress\/category\/java\/"},"img":{"alt_text":"","src":"https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2025\/12\/Gemini_Generated_Image_wqijejwqijejwqij-scaled.avif","width":350,"height":200,"srcset":"https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2025\/12\/Gemini_Generated_Image_wqijejwqijejwqij-scaled.avif 1x, https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2025\/12\/Gemini_Generated_Image_wqijejwqijejwqij-scaled.avif 1.5x, https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2025\/12\/Gemini_Generated_Image_wqijejwqijejwqij-scaled.avif 2x, https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2025\/12\/Gemini_Generated_Image_wqijejwqijejwqij-scaled.avif 3x"},"classes":[]},{"id":3931,"url":"https:\/\/www.mymiller.name\/wordpress\/uncategorized\/advanced-spring-ai-creating-agentic-workflows-with-function-calling\/","url_meta":{"origin":4060,"position":3},"title":"Advanced Spring AI: Creating Agentic Workflows with Function Calling","author":"Jeffery Miller","date":"November 24, 2025","format":false,"excerpt":"The landscape of AI is rapidly evolving, moving beyond simple request-response models to more sophisticated, agentic systems. These systems empower Large Language Models (LLMs) to not just generate text, but to act within your applications, making them an active and integral part of your business logic. Spring AI is at\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2025\/11\/Gemini_Generated_Image_kg5i0ykg5i0ykg5i.avif","width":350,"height":200,"srcset":"https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2025\/11\/Gemini_Generated_Image_kg5i0ykg5i0ykg5i.avif 1x, https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2025\/11\/Gemini_Generated_Image_kg5i0ykg5i0ykg5i.avif 1.5x, https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2025\/11\/Gemini_Generated_Image_kg5i0ykg5i0ykg5i.avif 2x"},"classes":[]},{"id":3995,"url":"https:\/\/www.mymiller.name\/wordpress\/spring_ai\/mastering-retrieval-augmented-generation-rag-with-spring-ai\/","url_meta":{"origin":4060,"position":4},"title":"Mastering Retrieval-Augmented Generation (RAG) with Spring AI","author":"Jeffery Miller","date":"July 27, 2026","format":false,"excerpt":"Retrieval-Augmented Generation (RAG) has become the gold standard architecture for extending the capabilities of Large Language Models (LLMs) with enterprise domain knowledge. By combining the natural language understanding of LLMs with real-time retrieval from dynamic data stores, RAG eliminates hallucinations, enhances accuracy, and avoids the costly alternative of fine-tuning models\u2026","rel":"","context":"In &quot;AI&quot;","block_context":{"text":"AI","link":"https:\/\/www.mymiller.name\/wordpress\/category\/ai\/"},"img":{"alt_text":"","src":"https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2026\/07\/Gemini_Generated_Image_v05lpdv05lpdv05l-scaled.avif","width":350,"height":200,"srcset":"https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2026\/07\/Gemini_Generated_Image_v05lpdv05lpdv05l-scaled.avif 1x, https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2026\/07\/Gemini_Generated_Image_v05lpdv05lpdv05l-scaled.avif 1.5x, https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2026\/07\/Gemini_Generated_Image_v05lpdv05lpdv05l-scaled.avif 2x, https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2026\/07\/Gemini_Generated_Image_v05lpdv05lpdv05l-scaled.avif 3x"},"classes":[]},{"id":3987,"url":"https:\/\/www.mymiller.name\/wordpress\/spring_ai\/enterprise-ai-at-scale-why-spring-ai-and-java-are-built-for-the-long-run\/","url_meta":{"origin":4060,"position":5},"title":"Enterprise AI at Scale: Why Spring AI and Java are Built for the Long Run","author":"Jeffery Miller","date":"July 23, 2026","format":false,"excerpt":"While Python remains the undisputed king of AI research, data exploration, and model training, the landscape shifts dramatically when moving from experimental notebooks to high-throughput, mission-critical production systems. For enterprise engineering teams building user-facing applications, workflow automations, and LLM-powered services, the real challenge isn't training a model\u2014it's integrating, scaling, securing,\u2026","rel":"","context":"In &quot;AI&quot;","block_context":{"text":"AI","link":"https:\/\/www.mymiller.name\/wordpress\/category\/ai\/"},"img":{"alt_text":"","src":"https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2026\/07\/Gemini_Generated_Image_rht72frht72frht7-scaled.avif","width":350,"height":200,"srcset":"https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2026\/07\/Gemini_Generated_Image_rht72frht72frht7-scaled.avif 1x, https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2026\/07\/Gemini_Generated_Image_rht72frht72frht7-scaled.avif 1.5x, https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2026\/07\/Gemini_Generated_Image_rht72frht72frht7-scaled.avif 2x, https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2026\/07\/Gemini_Generated_Image_rht72frht72frht7-scaled.avif 3x"},"classes":[]}],"jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.mymiller.name\/wordpress\/wp-json\/wp\/v2\/posts\/4060","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mymiller.name\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mymiller.name\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mymiller.name\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mymiller.name\/wordpress\/wp-json\/wp\/v2\/comments?post=4060"}],"version-history":[{"count":1,"href":"https:\/\/www.mymiller.name\/wordpress\/wp-json\/wp\/v2\/posts\/4060\/revisions"}],"predecessor-version":[{"id":4081,"href":"https:\/\/www.mymiller.name\/wordpress\/wp-json\/wp\/v2\/posts\/4060\/revisions\/4081"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.mymiller.name\/wordpress\/wp-json\/wp\/v2\/media\/4074"}],"wp:attachment":[{"href":"https:\/\/www.mymiller.name\/wordpress\/wp-json\/wp\/v2\/media?parent=4060"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mymiller.name\/wordpress\/wp-json\/wp\/v2\/categories?post=4060"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mymiller.name\/wordpress\/wp-json\/wp\/v2\/tags?post=4060"},{"taxonomy":"series","embeddable":true,"href":"https:\/\/www.mymiller.name\/wordpress\/wp-json\/wp\/v2\/series?post=4060"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}