Skip to content

Add Spring Boot integration reference for Java SDK#74

Open
smaldd14 wants to merge 1 commit intotemporalio:mainfrom
smaldd14:java-spring-boot-references
Open

Add Spring Boot integration reference for Java SDK#74
smaldd14 wants to merge 1 commit intotemporalio:mainfrom
smaldd14:java-spring-boot-references

Conversation

@smaldd14
Copy link
Copy Markdown

@smaldd14 smaldd14 commented Apr 9, 2026

Covers auto-discovery mechanics, annotation layering (@WorkflowImpl vs @ActivityImpl + @component), WorkflowClient injection, worker lifecycle, testing strategies, and Spring-specific gotchas. Updates java.md and testing.md with pointers to the new reference.

What was changed

Added a new references/java/spring-boot.md reference covering the temporal-spring-boot-starter integration. Updated java.md to point to it from the Worker Setup section and testing.md to include Spring Boot-specific testing strategies.

Why?

The Java references had no Spring Boot content despite it being the dominant Java framework. The primary gap was auto-discovery mechanics — how @WorkflowImpl / @ActivityImpl annotations combined with workersAutoDiscovery.packages config register implementations with workers, and the common silent-failure when either is missing.

Checklist

  1. Verified annotation names, property keys, and code examples against the temporal-spring-boot-autoconfigure source and a working Spring Boot project using the starter.
  2. This PR is the docs update. No changes to docs.temporal.io needed.

Covers auto-discovery mechanics, annotation layering (@WorkflowImpl vs
@ActivityImpl + @component), WorkflowClient injection, worker lifecycle,
testing strategies, and Spring-specific gotchas. Updates java.md and
testing.md with pointers to the new reference.
@smaldd14 smaldd14 requested a review from a team as a code owner April 9, 2026 14:05
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 9, 2026

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants