<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Getting started with the Dapr and Spring Boot on Dapr Docs</title><link>https://v1-18.docs.dapr.io/developing-applications/sdks/java/spring-boot/</link><description>Recent content in Getting started with the Dapr and Spring Boot on Dapr Docs</description><generator>Hugo</generator><language>en</language><atom:link href="https://v1-18.docs.dapr.io/developing-applications/sdks/java/spring-boot/index.xml" rel="self" type="application/rss+xml"/><item><title>How to: Author and manage Dapr Workflow with Spring Boot</title><link>https://v1-18.docs.dapr.io/developing-applications/sdks/java/spring-boot/sb-workflows-howto/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://v1-18.docs.dapr.io/developing-applications/sdks/java/spring-boot/sb-workflows-howto/</guid><description>&lt;p>Following the same approach that we used for Spring Data and Spring Messaging, the &lt;a href="https://v1-18.docs.dapr.io/developing-applications/sdks/java/spring-boot/">&lt;code>dapr-spring-boot-starter&lt;/code>&lt;/a> brings Dapr Workflow integration for Spring Boot users.&lt;/p>
&lt;p>With Dapr Workflows you define complex orchestrations (workflows) in Java code. The Dapr Spring Boot Starter makes your development easier by managing &lt;code>Workflow&lt;/code>s and &lt;code>WorkflowActivity&lt;/code>s as Spring Beans.&lt;/p>
&lt;p>In order to enable the automatic bean discovery you annotate your &lt;code>@SpringBootApplication&lt;/code> with the &lt;code>@EnableDaprWorkflows&lt;/code> annotation:&lt;/p>
&lt;pre tabindex="0">&lt;code>@SpringBootApplication
@EnableDaprWorkflows
public class MySpringBootApplication {
 ...
}
&lt;/code>&lt;/pre>&lt;p>By adding this annotation, all the &lt;code>Workflow&lt;/code>s and &lt;code>WorkflowActivity&lt;/code>s beans are automatically discovered by Spring and registered to the workflow engine.&lt;/p></description></item></channel></rss>