{"id":3954,"date":"2026-04-20T09:30:19","date_gmt":"2026-04-20T13:30:19","guid":{"rendered":"https:\/\/www.mymiller.name\/wordpress\/?p=3954"},"modified":"2026-04-20T09:30:19","modified_gmt":"2026-04-20T13:30:19","slug":"architecting-batch-systems-with-spring-boot-4-0-and-spring-framework-7-0","status":"publish","type":"post","link":"https:\/\/www.mymiller.name\/wordpress\/spring-batch\/architecting-batch-systems-with-spring-boot-4-0-and-spring-framework-7-0\/","title":{"rendered":"Architecting Batch Systems with Spring Boot 4.0 and Spring Framework 7.0"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">With the release of <strong>Spring Boot 4.0<\/strong> and <strong>Spring Framework 7.0<\/strong>, the batch processing landscape has evolved to embrace <strong>Java 25<\/strong>, <strong>Jakarta EE 11<\/strong>, and built-in resilience patterns. This guide provides a professional architectural blueprint for setting up a high-performance Spring Batch server.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">1. Technical Baseline<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Java:<\/strong> 17 (Baseline) \/ 25 (Recommended)<\/li>\n\n\n\n<li><strong>Build Tool:<\/strong> Gradle 9.x<\/li>\n\n\n\n<li><strong>Frameworks:<\/strong> Spring Boot 4.0.0+, Spring Framework 7.0.0+<\/li>\n\n\n\n<li><strong>Persistence:<\/strong> Jakarta Persistence (JPA) 3.2<\/li>\n\n\n\n<li><strong>Batch Version:<\/strong> Spring Batch 6.0<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">2. Dependency Management (build.gradle)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Spring Boot 4.0 introduces a modularized codebase. We leverage the <code>spring-boot-starter-batch<\/code> which now targets the Jakarta EE 11 namespace.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>plugins {\n    id 'java'\n    id 'org.springframework.boot' version '4.0.0'\n    id 'io.spring.dependency-management' version '1.1.7'\n}\n\ngroup = 'com.architect.batch'\nversion = '1.0.0'\njava.sourceCompatibility = JavaVersion.VERSION_25\n\nrepositories {\n    mavenCentral()\n}\n\ndependencies {\n    implementation 'org.springframework.boot:spring-boot-starter-batch'\n    implementation 'org.springframework.boot:spring-boot-starter-data-jpa'\n    implementation 'org.springframework.boot:spring-boot-starter-validation'\n    \n    \/\/ Spring AI Integration for LLM-based batch tasks\n    implementation 'org.springframework.ai:spring-ai-openai-spring-boot-starter'\n\n    runtimeOnly 'com.h2database:h2'\n    testImplementation 'org.springframework.boot:spring-boot-starter-test'\n    testImplementation 'org.springframework.batch:spring-batch-test'\n}\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">3. Core Architectural Changes<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">The Removal of <code>@EnableBatchProcessing<\/code><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In Spring Boot 4.0, <code>@EnableBatchProcessing<\/code> is no longer required for default auto-configuration. Instead, the framework provides a <code>DefaultBatchConfiguration<\/code> that you can extend if you need deep customization.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Modernizing the Builder API<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Spring Batch 6.0 (bundled with Boot 4.0) has finalized the removal of <code>JobBuilderFactory<\/code> and <code>StepBuilderFactory<\/code>.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>JobBuilder:<\/strong> Now requires a <code>JobRepository<\/code> explicitly passed to the constructor. This ensures that the job&#8217;s state management is clearly defined at the point of instantiation.<\/li>\n\n\n\n<li><strong>StepBuilder:<\/strong> Requires both a <code>JobRepository<\/code> and, for chunk-oriented steps, a <code>PlatformTransactionManager<\/code>. This explicit injection supports better testing and multi-transaction-manager environments.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">4. Understanding the Builders: Orchestration vs. Execution<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To design a robust batch system, it is critical to understand the functional hierarchy between the <code>JobBuilder<\/code> and the <code>StepBuilder<\/code>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">The Functional Purpose of JobBuilder<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The <code>JobBuilder<\/code> acts as the <strong>Orchestrator<\/strong>. Its primary responsibility is to define the high-level workflow and the lifecycle of the entire batch process.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Scope:<\/strong> It manages global concerns such as job parameters, listeners, and step sequencing.<\/li>\n\n\n\n<li><strong>Flow Control:<\/strong> Defines transitions\u2014whether the job proceeds linearly, forks, or stops.<\/li>\n\n\n\n<li><strong>State Management:<\/strong> Tracks &#8220;Job Instance&#8221; vs &#8220;Job Execution&#8221; for restartability via the <code>JobRepository<\/code>.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">The Functional Purpose of StepBuilder<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The <code>StepBuilder<\/code> acts as the <strong>Executor<\/strong>. It defines the &#8220;how&#8221; of the data processing logic within a specific phase.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Granularity:<\/strong> The independent unit of work.<\/li>\n\n\n\n<li><strong>Processing Paradigms:<\/strong> Chunk-based (Reader\/Processor\/Writer) or Tasklet-based.<\/li>\n\n\n\n<li><strong>Isolation:<\/strong> Encapsulates the transactional boundary for its work.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">5. Advanced Workflow Orchestration<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">As an architect, you often need more than a simple linear chain. Spring Batch provides a powerful DSL for conditional logic and branching.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Chaining and Forking (Conditional Flow)<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">You can use <code>.on()<\/code>, <code>.to()<\/code>, and <code>.from()<\/code> to create complex state machines.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>@Bean\npublic Job complexWorkflowJob(JobRepository jobRepository, \n                             Step validationStep, \n                             Step aiProcessingStep, \n                             Step manualReviewStep,\n                             Step archiveStep) {\n    return new JobBuilder(\"complexWorkflowJob\", jobRepository)\n            .start(validationStep)\n                .on(\"FAILED\").to(manualReviewStep) \/\/ Fork if validation fails\n            .from(validationStep)\n                .on(\"COMPLETED\").to(aiProcessingStep) \/\/ Continue if success\n            .from(aiProcessingStep)\n                .on(\"*\").to(archiveStep) \/\/ Default transition\n            .end()\n            .build();\n}\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Stopping and Failing Jobs<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">You can explicitly control the final state of a job based on business logic:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong><code>stop()<\/code><\/strong>: Transitions the job to a <code>STOPPED<\/code> state. It can be restarted from this point.<\/li>\n\n\n\n<li><strong><code>fail()<\/code><\/strong>: Transitions the job to <code>FAILED<\/code>. It marks the execution as a failure but allows for restart depending on configuration.<\/li>\n\n\n\n<li><strong><code>end()<\/code><\/strong>: Marks the job as <code>COMPLETED<\/code>.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>@Bean\npublic Job conditionalStopJob(JobRepository jobRepository, Step step1, Step cleanupStep) {\n    return new JobBuilder(\"conditionalStopJob\", jobRepository)\n            .start(step1)\n                .on(\"NO_DATA_FOUND\").stop() \/\/ Graceful stop if no work found\n            .from(step1)\n                .on(\"CRITICAL_ERROR\").fail() \/\/ Explicit failure\n            .from(step1)\n                .on(\"*\").to(cleanupStep)\n            .end()\n            .build();\n}\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Parallel Execution (Splitting)<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">To maximize throughput on Java 25, you can execute independent flows in parallel using <code>split<\/code>.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>@Bean\npublic Job parallelJob(JobRepository jobRepository, Flow flow1, Flow flow2, Step finalMergeStep) {\n    return new JobBuilder(\"parallelJob\", jobRepository)\n            .start(flow1)\n            .split(new SimpleAsyncTaskExecutor()) \/\/ Runs flow1 and flow2 in parallel\n            .add(flow2)\n            .next(finalMergeStep)\n            .end()\n            .build();\n}\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">6. Implementation: The LLM Data Processor (Spring AI)<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>@Component\npublic class AIEnrichmentProcessor implements ItemProcessor&lt;InputData, EnrichedData&gt; {\n    private final ChatClient chatClient;\n\n    public AIEnrichmentProcessor(ChatClient.Builder builder) {\n        this.chatClient = builder.build();\n    }\n\n    @Override\n    public EnrichedData process(InputData item) {\n        String analysis = chatClient.prompt()\n                .user(\"Analyze this record: \" + item.getContent())\n                .call()\n                .content();\n        return new EnrichedData(item.getId(), analysis);\n    }\n}\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">7. Job Configuration (Modern Style)<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>@Configuration\npublic class BatchServerConfiguration {\n    @Bean\n    public Job enrichmentJob(JobRepository jobRepository, Step mainStep) {\n        return new JobBuilder(\"enrichmentJob\", jobRepository)\n                .start(mainStep)\n                .build();\n    }\n\n    @Bean\n    public Step mainStep(JobRepository jobRepository, \n                        PlatformTransactionManager transactionManager,\n                        AIEnrichmentProcessor processor) {\n        return new StepBuilder(\"mainStep\", jobRepository)\n                .&lt;InputData, EnrichedData&gt;chunk(10, transactionManager)\n                .reader(new CustomItemReader()) \n                .processor(processor)\n                .writer(new CustomItemWriter()) \n                .build();\n    }\n}\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">8. Automating Job Execution (Scheduling)<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>@Configuration\n@EnableScheduling\npublic class SchedulingConfiguration {}\n\n@Service\npublic class BatchJobScheduler {\n    private final JobLauncher jobLauncher;\n    private final Job enrichmentJob;\n\n    public BatchJobScheduler(JobLauncher jobLauncher, Job enrichmentJob) {\n        this.jobLauncher = jobLauncher;\n        this.enrichmentJob = enrichmentJob;\n    }\n\n    @Scheduled(cron = \"0 0 0 * * ?\")\n    public void scheduleEnrichmentJob() throws Exception {\n        var params = new JobParametersBuilder()\n                .addLong(\"timestamp\", System.currentTimeMillis())\n                .toJobParameters();\n        jobLauncher.run(enrichmentJob, params);\n    }\n}\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">9. Resilience &amp; Retries<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Spring Framework 7 integrates <code>spring-retry<\/code> into <code>spring-core<\/code>. Use <code>@Retryable<\/code> in your processors to handle transient LLM API failures.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">10. REST Controller Integration<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>@RestController\npublic class JobTriggerController {\n    private final JobLauncher jobLauncher;\n    private final Job enrichmentJob;\n\n    public JobTriggerController(JobLauncher jobLauncher, Job enrichmentJob) {\n        this.jobLauncher = jobLauncher;\n        this.enrichmentJob = enrichmentJob;\n    }\n\n    @PostMapping(\"\/jobs\/enrichment\")\n    public void runJob(@RequestParam String referenceId) throws Exception {\n        var params = new JobParametersBuilder()\n                .addString(\"referenceId\", referenceId)\n                .addLong(\"timestamp\", System.currentTimeMillis())\n                .toJobParameters();\n        jobLauncher.run(enrichmentJob, params);\n    }\n}\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Setting up a Spring Batch server on the 4.0\/7.0 stack involves embracing <strong>Jakarta EE 11<\/strong> and <strong>Java 25<\/strong>. By leveraging advanced orchestration patterns like conditional forking, parallel splitting, and Spring AI, you build a resilient, modern data processing engine.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 2. Dependency Management (build.gradle) Spring Boot 4.0 introduces a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3955,"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":[487],"tags":[488,484],"series":[],"class_list":["post-3954","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-spring-batch","tag-spring-batch","tag-spring4"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2025\/12\/Gemini_Generated_Image_mmtkyammtkyammtk.avif","jetpack-related-posts":[{"id":3912,"url":"https:\/\/www.mymiller.name\/wordpress\/uncategorized\/spring-boot-4-0-whats-next-for-the-modern-java-architect\/","url_meta":{"origin":3954,"position":0},"title":"Spring Boot 4.0: What&#8217;s Next for the Modern Java Architect?","author":"Jeffery Miller","date":"September 24, 2025","format":false,"excerpt":"A Forward-Looking Comparison of Spring Boot 3.x and 4.0 Staying on top of the rapidly evolving Java ecosystem is paramount for any software architect. The shift from Spring Boot 2.x to 3.x brought significant changes, notably the move to Jakarta EE. Now, with the horizon of Spring Boot 4.0 and\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2025\/09\/per-2056740_1280.avif","width":350,"height":200,"srcset":"https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2025\/09\/per-2056740_1280.avif 1x, https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2025\/09\/per-2056740_1280.avif 1.5x, https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2025\/09\/per-2056740_1280.avif 2x, https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2025\/09\/per-2056740_1280.avif 3x"},"classes":[]},{"id":4061,"url":"https:\/\/www.mymiller.name\/wordpress\/java\/hibernate-8-jakarta-persistence-4-graph-flushing-entityagent-postgresql-rls\/","url_meta":{"origin":3954,"position":1},"title":"Hibernate 8 and Jakarta Persistence 4.0: Graph-Based Flushing, EntityAgent, and Native PostgreSQL Row-Level Security","author":"Jeffery Miller","date":"December 3, 2026","format":false,"excerpt":"Hibernate ORM 8.0.0.CR1 brings Jakarta Persistence 4.0's stateless EntityAgent, separated Statement vs. TypedQuery APIs, default graph-based flush ordering, and native PostgreSQL Row-Level Security\u2014plus a look at PostgreSQL 19's built-in REPACK (CONCURRENTLY).","rel":"","context":"In &quot;JAVA&quot;","block_context":{"text":"JAVA","link":"https:\/\/www.mymiller.name\/wordpress\/category\/java\/"},"img":{"alt_text":"3D editorial illustration of a golden directed entity graph converging into a sapphire database cylinder separated into locked teal horizontal multi-tenant strata.","src":"https:\/\/i0.wp.com\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2026\/11\/hibernate-8-jakarta-persistence-4-rls-featured.jpg?fit=1200%2C670&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2026\/11\/hibernate-8-jakarta-persistence-4-rls-featured.jpg?fit=1200%2C670&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2026\/11\/hibernate-8-jakarta-persistence-4-rls-featured.jpg?fit=1200%2C670&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2026\/11\/hibernate-8-jakarta-persistence-4-rls-featured.jpg?fit=1200%2C670&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2026\/11\/hibernate-8-jakarta-persistence-4-rls-featured.jpg?fit=1200%2C670&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":3715,"url":"https:\/\/www.mymiller.name\/wordpress\/spring_messaging\/optimizing-spring-kafka-message-delivery-compression-batching-and-delays\/","url_meta":{"origin":3954,"position":2},"title":"Optimizing Spring Kafka Message Delivery: Compression, Batching, and Delays","author":"Jeffery Miller","date":"December 2, 2026","format":false,"excerpt":"Spring Kafka provides a powerful framework for interacting with Apache Kafka, but efficient message delivery requires some fine-tuning. Here\u2019s how to optimize your Spring Kafka producer using compression, batching, and small delays. 1. Compression Compressing messages before sending them to Kafka significantly reduces the overall data size, leading to: Lower\u2026","rel":"","context":"In &quot;Spring Messaging&quot;","block_context":{"text":"Spring Messaging","link":"https:\/\/www.mymiller.name\/wordpress\/category\/spring_messaging\/"},"img":{"alt_text":"","src":"https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2024\/09\/management-1137648_1280-jpg.avif","width":350,"height":200,"srcset":"https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2024\/09\/management-1137648_1280-jpg.avif 1x, https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2024\/09\/management-1137648_1280-jpg.avif 1.5x, https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2024\/09\/management-1137648_1280-jpg.avif 2x, https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2024\/09\/management-1137648_1280-jpg.avif 3x"},"classes":[]},{"id":3548,"url":"https:\/\/www.mymiller.name\/wordpress\/spring\/beyond-the-basics-optimizing-your-spring-boot-applications-for-performance-fine-tune-your-application-for-speed-and-efficiency\/","url_meta":{"origin":3954,"position":3},"title":"Beyond the Basics: Optimizing Your Spring Boot Applications for Performance &#8211; Fine-tune your application for speed and efficiency.","author":"Jeffery Miller","date":"April 20, 2026","format":false,"excerpt":"Absolutely! Here\u2019s a blog article on optimizing Spring Boot applications, aimed at those who already have some experience with the framework: Beyond the Basics: Optimizing Your Spring Boot Applications for Performance Spring Boot is a fantastic framework for rapidly building production-ready applications. However, as your application grows and handles more\u2026","rel":"","context":"In &quot;Spring&quot;","block_context":{"text":"Spring","link":"https:\/\/www.mymiller.name\/wordpress\/category\/spring\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2024\/06\/ai-generated-8619544_1280.jpg?fit=1200%2C685&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2024\/06\/ai-generated-8619544_1280.jpg?fit=1200%2C685&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2024\/06\/ai-generated-8619544_1280.jpg?fit=1200%2C685&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2024\/06\/ai-generated-8619544_1280.jpg?fit=1200%2C685&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2024\/06\/ai-generated-8619544_1280.jpg?fit=1200%2C685&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":4055,"url":"https:\/\/www.mymiller.name\/wordpress\/springboot\/spring-boot-4-2-amqp-1-0-uber-jars-ssl-bundles-resttemplate\/","url_meta":{"origin":3954,"position":4},"title":"Spring Boot 4.2 Is Here: AMQP 1.0, Faster Uber-JARs, Fail-Fast SSL Bundles, and Saying Goodbye to RestTemplate","author":"Jeffery Miller","date":"November 23, 2026","format":false,"excerpt":"Spring Boot 4.2.0 GA is live on Maven Central. Here is your hands-on upgrade guide covering native AMQP 1.0, faster nested Uber-JAR loading, OpenTelemetry semantic conventions, fail-fast SSL bundles, RestTemplate deprecation, and the Apache Pulsar handoff.","rel":"","context":"In &quot;Spring4&quot;","block_context":{"text":"Spring4","link":"https:\/\/www.mymiller.name\/wordpress\/category\/spring\/spring4\/"},"img":{"alt_text":"3D editorial illustration of a luminous emerald glass modular container vessel accelerating along high-speed message rails ringed by cryptographic SSL lock halos, leaving a weathered brass gear behind.","src":"https:\/\/i0.wp.com\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2026\/11\/spring-boot-4-2-ga-featured.jpg?fit=1200%2C670&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2026\/11\/spring-boot-4-2-ga-featured.jpg?fit=1200%2C670&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2026\/11\/spring-boot-4-2-ga-featured.jpg?fit=1200%2C670&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2026\/11\/spring-boot-4-2-ga-featured.jpg?fit=1200%2C670&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2026\/11\/spring-boot-4-2-ga-featured.jpg?fit=1200%2C670&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":4060,"url":"https:\/\/www.mymiller.name\/wordpress\/spring_databases\/beyond-scheduled-crash-proof-jobs-jobrunr-9-spring-boot-4\/","url_meta":{"origin":3954,"position":5},"title":"Beyond @Scheduled: Crash-Proof Multi-Step Background Jobs and AI Workflows with JobRunr 9 and Spring Boot 4","author":"Jeffery Miller","date":"November 30, 2026","format":false,"excerpt":"Spring'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.","rel":"","context":"In &quot;Spring Databases&quot;","block_context":{"text":"Spring Databases","link":"https:\/\/www.mymiller.name\/wordpress\/category\/spring_databases\/"},"img":{"alt_text":"3D editorial illustration of a horizontal metallic timeline track with glowing emerald checkpoint pillars, a cyan energy arc bridging a lightning-fractured node, and pulsing blue event ripples underneath.","src":"https:\/\/i0.wp.com\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2026\/11\/jobrunr-9-spring-boot-4-durable-jobs-featured.jpg?fit=1200%2C670&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2026\/11\/jobrunr-9-spring-boot-4-durable-jobs-featured.jpg?fit=1200%2C670&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2026\/11\/jobrunr-9-spring-boot-4-durable-jobs-featured.jpg?fit=1200%2C670&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2026\/11\/jobrunr-9-spring-boot-4-durable-jobs-featured.jpg?fit=1200%2C670&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2026\/11\/jobrunr-9-spring-boot-4-durable-jobs-featured.jpg?fit=1200%2C670&ssl=1&resize=1050%2C600 3x"},"classes":[]}],"jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.mymiller.name\/wordpress\/wp-json\/wp\/v2\/posts\/3954","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=3954"}],"version-history":[{"count":1,"href":"https:\/\/www.mymiller.name\/wordpress\/wp-json\/wp\/v2\/posts\/3954\/revisions"}],"predecessor-version":[{"id":3956,"href":"https:\/\/www.mymiller.name\/wordpress\/wp-json\/wp\/v2\/posts\/3954\/revisions\/3956"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.mymiller.name\/wordpress\/wp-json\/wp\/v2\/media\/3955"}],"wp:attachment":[{"href":"https:\/\/www.mymiller.name\/wordpress\/wp-json\/wp\/v2\/media?parent=3954"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mymiller.name\/wordpress\/wp-json\/wp\/v2\/categories?post=3954"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mymiller.name\/wordpress\/wp-json\/wp\/v2\/tags?post=3954"},{"taxonomy":"series","embeddable":true,"href":"https:\/\/www.mymiller.name\/wordpress\/wp-json\/wp\/v2\/series?post=3954"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}