← Code Exchange

Temporal for Java/Spring Boot Microservices

This project experiments with applying Temporal to the implementation of Java/Spring Boot microservices.


⚠️ Community Contributed Project

This project was generously donated by one of our fabulous Temporal community members! We encourage you to check it out, but urge caution as Temporal does not formally support or endorse this project.

A typical approach to implementing microservices in Java with Spring Boot places business logic within a REST controller. If the microservice makes downstream requests - which for better or worse are often implemented in a request/response style - the implementation must include code that compensates for sporadic failures. Of course, this is exactly in Temporal's sweet spot.

This project experiments with applying Temporal to the implementation of Java/Spring Boot microservices, addressing things such as retries, as well as dependency management/injection, and packaging of deployable artifacts. The project's git repository is accompanied by the following blog posts:

Application Topology Diagram

Code Exchange - Microservices and Spring Boot Diagram


Language

Java
💖 Community Example ApplicationExperimentalSpringSpring Boot

About the Author

Smiling woman with shoulder-length gray hair wearing a mauve shirt, photographed outdoors with green palm fronds in background.

Cornelia Davis

Senior Staff Developer Advocate

Temporal