flâneur — a map of the web's best reading

Core application - Java SDK | Temporal Platform Documentation

docs.temporal.io · 214 words · saved by 1 readers

Workflows are the fundamental unit of a Temporal Application, and it all starts with the development of a Workflow Definition. In the Temporal Java SDK programming model, a Workflow Definition comprises a Workflow interface annotated with @WorkflowInterface and a Workflow implementation that implements the Workflow interface. The Workflow interface is a Java interface and is annotated with @WorkflowInterface. Each Workflow interface must have only one method annotated with @WorkflowMethod. However, when using dynamic Workflows, do not specify a @WorkflowMethod, and implement the DynamicWorkflow directly in the Workflow implementation code. The @WorkflowMethod identifies the method that is the starting point of the Workflow Execution. The Workflow Execution completes when this method completes. You can create interface inheritance hierarchies to reuse components across other Workflow interfaces. The interface inheritance approach does not apply to @WorkflowMethod annotations. A Workflow

On this page Install and get started ​ You can find detailed installation instructions for the Java SDK in the Quickstart . There's also a short walkthrough of how to use the Temporal primitives (Activities, Workflows, and Workers) to build and run a Temporal application to get you up and running. Once your local Temporal Service is set up, continue building with the following resources: Develop a Workflow Develop an Activity Start an Activity execution Run Worker processes From there, you can dive deeper into any of the Temporal primitives to start building Workflows that fit your use cases.

Explore this link on the map →

related reading