Microservices with Java
Learn how to build, orchestrate, and manage Java microservices with Camunda's process orchestration platform. Implement reliable, scalable workflows across your Java services.
Java Microservices Orchestration with Camunda
Getting started with Java and Camunda
Use the Camunda Java client to connect your microservices to Camunda Cloud. Subscribe to jobs, complete tasks, and handle BPMN processes from your Java code.
Java client libraries
Official Camunda Java client supports Spring Boot, Quarkus, and plain Java applications. Zero configuration needed for Spring Boot — autoconfiguration handles the setup.
External task pattern
Java workers poll for service tasks and execute your business logic. Camunda coordinates the flow — your Java code handles the implementation.
Spring Boot integration
The Camunda Spring Boot Starter provides full autoconfiguration. Annotate your workers with @JobWorker and define your workflow in BPMN — that's all you need.
Error handling and retries
Built-in retry mechanism, incident creation, and error handling. Define retries and backoff in BPMN — your Java code just throws exceptions.
Testing Java workflows
Use the Camunda Process Test library to write unit and integration tests for your BPMN processes alongside your Java code.