
Tour the e-commerce app you will build: saga orchestration, compensation, human-in-the-loop approvals, cron workflows, and event-driven coordination.
See how a five-step order flow breaks when a payment fails mid-process, and why retries, cron jobs, and message queues only mask the problem.
Trace the lineage from Amazon SWF to Cadence to Temporal. Learn how event-sourced histories and deterministic replay deliver durability.
Understand the replay mechanism, the determinism contract, and what you gain (and give up) when Temporal manages your workflow state.
Clear up misconceptions: Temporal is not a message broker, job scheduler, or BPMN engine. Learn what it replaces in your Spring Boot stack.
Map the four Temporal components (Server, Workers, Clients, Event History) to Spring Boot controllers, services, and configuration beans.
Learn the two building blocks: Workflows orchestrate logic with deterministic code; Activities perform side effects like API calls and DB writes.
Understand workers as long-polling processes, how task queues decouple clients from workers, and the thread pool execution model.
Explore the four internal services (Frontend, History, Matching, Worker) and the two persistence stores that power workflow durability.
Configure the Temporal SDK with Spring Boot starters and application.yml. Learn why workflow classes must not be Spring-managed beans.
Implement a five-step saga (validate, authorize payment, reserve inventory, schedule shipment, confirm) with reverse-order compensation.
Build the payment activity with authorization/capture separation, idempotent retries, and state-dependent compensation on failure.
Create a workflow that pauses for manager approval on high-value orders using signals, with configurable timeouts and escalation paths.
Replace fragile @Scheduled jobs with Temporal cron workflows that survive restarts, provide visibility, and guarantee retry semantics.
Master the three interaction mechanisms: Signals (async fire-and-forget), Queries (sync read-only), and Updates (sync mutations).
Coordinate separate Spring Boot services (order, payment, inventory, shipping) using cross-service activities and task queue routing.
Deploy Temporal three ways: CLI for local dev, Docker Compose for team environments, and Kubernetes with Helm for production clusters.
Write fast deterministic tests using TestWorkflowEnvironment with time-skipping, in-process execution, and the JUnit 5 extension.
Set up replay-aware logging with Workflow.getLogger, Micrometer metrics for dashboards, and OpenTelemetry distributed tracing.
Modify running workflows safely using Workflow.getVersion() and Worker Build ID-based versioning to avoid NonDeterministicException.
Secure Temporal with mTLS authentication, namespace isolation, and PayloadCodec encryption. Debug common production issues.
Walk through the complete two-module project (order-api, order-service) tying together every pattern from the course in one codebase.
Fine-tune RetryOptions (interval, backoff, max attempts) and the four timeout types to control exactly how your workflows handle failure.
Build a three-layer defense: workflow ID as business key, WorkflowIdReusePolicy for deduplication, and idempotency keys for activities.
Apply the Strangler Fig pattern to incrementally migrate cron jobs and state machines to Temporal workflows in four phases.
Connect to Temporal Cloud's managed service via mTLS, then explore how durable execution powers reliable AI agent workflows.
Fix a broken three-step workflow where the customer is charged but the order never ships. Practice compensation and business key patterns.
Implement signal-based manager approval for orders over $5000 with 24-hour escalation timeout and 48-hour automatic rejection.
Build a five-step saga pipeline (validate, charge, reserve, ship, notify) with full reverse-order compensation and a queryable tracker.
Review all six sections, explore industry trends in microservices orchestration and AI agent reliability, and plan your next steps.
“This course contains the use of artificial intelligence.”
Your order workflow runs perfectly — until the payment service times out at step three.
The customer is charged. Inventory is reserved. Nothing ships. And someone on your team is writing SQL at 2 a.m. to work out which orders are stuck and which ones were double-charged.
Every backend developer has lived this. The usual answers — a retry annotation here, a cron job there, a status column that grows a new state every sprint — do not fix the problem. They hide it until it fails in a more expensive way.
Temporal fixes it properly. It gives your Spring Boot application durable execution: your workflow code keeps its state across crashes, restarts, deploys, and outages that last for days. A workflow that is halfway through when the JVM dies picks up exactly where it left off, on a different machine, with every variable intact.
This course teaches you Temporal the way you will actually use it — inside a real Spring Boot codebase, building a real e-commerce order fulfillment system from an empty project to production-ready.
What you will build
You will build a complete order fulfillment platform, one pattern at a time:
A five-step saga — validate, authorize payment, reserve inventory, schedule shipment, confirm — with automatic reverse-order compensation when any step fails
Payment processing with authorization/capture separation, idempotent retries, and state-dependent rollback
Human-in-the-loop approval for high-value orders, using signals, escalation timeouts, and automatic rejection
Cron workflows that replace fragile @Scheduled jobs and survive restarts
Event-driven coordination with Signals, Queries, and Updates
Cross-service orchestration between separate Spring Boot services using task queue routing
What you will learn
We start with why durable execution exists and how deterministic replay works, then map Temporal's four components onto the Spring Boot concepts you already know. From there it is hands-on: workflows and activities, the determinism rules, worker and task queue configuration, and Spring Boot auto-configuration with application.yml.
Then we go to production. You will write fast deterministic tests with JUnit 5 and TestWorkflowEnvironment time-skipping, add replay-aware logging, Micrometer metrics, and OpenTelemetry tracing, version running workflows safely with Workflow.getVersion() and Worker Build IDs, and secure everything with mTLS and namespace isolation. We cover retry policies and all four timeout types in depth, plus a three-layer idempotency strategy built on business keys.
Deep dives and hands-on practice
The advanced sections cover the Strangler Fig migration pattern for moving legacy scheduled jobs and state machines to Temporal incrementally, connecting to Temporal Cloud, and how durable execution underpins reliable AI agent workflows.
The course closes with three hands-on katas. You debug a broken workflow where the customer is charged but the order never ships, build a full compensation pipeline with a queryable state tracker, and implement signal-based manager approval with escalation. Each kata is a problem first and a solution second — you write the code, then compare.
Who this is for
This is a practitioner's course for developers who are already productive in Spring Boot. No prior Temporal, Cadence, or workflow-engine experience is needed. Everything runs on your laptop with Docker; Kubernetes and mTLS are covered but optional.
By the end, you will not just know what Temporal is. You will have built the thing that stops the 2 a.m. SQL scripts.