You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: daprdocs/content/en/java-sdk-docs/spring-boot/_index.md
+10-7Lines changed: 10 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,34 +8,37 @@ description: How to get started with Dapr and Spring Boot
8
8
9
9
By combining Dapr and Spring Boot, we can create infrastructure independent Java applications that can be deployed across different environments, supporting a wide range of on-premises and cloud provider services.
10
10
11
-
First, we will start with a simple integration covering the `DaprClient` and the [Testcontainers](https://testcontainers.com/) integration, to then use Spring and Spring Boot mechanisms and programming model to leverage the Dapr APIs under the hood. This help teams to remove dependencies such as clients and drivers required to connect to environmentspecific infrastructure (databases, key-value stores, message brokers, configuration/secret stores, etc.)
11
+
First, we will start with a simple integration covering the `DaprClient` and the [Testcontainers](https://testcontainers.com/) integration, to then use Spring and Spring Boot mechanisms and programming model to leverage the Dapr APIs under the hood. This helps teams to remove dependencies such as clients and drivers required to connect to environment-specific infrastructure (databases, key-value stores, message brokers, configuration/secret stores, etc)
12
12
13
13
{{% alert title="Note" color="primary" %}}
14
-
The Spring Boot integration explained in this page is still alpha, hence most artifacts are labeled with 0.13.0.
14
+
The Spring Boot integration requires Spring Boot 3.x+ to work. This will not work with Spring Boot 2.x.
15
+
The Spring Boot integration remains in alpha. We need your help and feedback to graduate it.
16
+
Please join the [#java-sdk discord channel](https://discord.com/channels/778680217417809931/778749797242765342) discussion or open issues in the [dapr/java-sdk](https://github.com/dapr/java-sdk/issues).
15
17
16
18
{{% /alert %}}
17
19
18
20
19
21
## Adding the Dapr and Spring Boot integration to your project
20
22
21
-
If you already have a Spring Boot application (Spring Boot 3.x+), you can directly add the following dependencies to your project:
22
-
23
+
If you already have a Spring Boot application, you can directly add the following dependencies to your project:
23
24
24
25
```
25
26
<dependency>
26
27
<groupId>io.dapr.spring</groupId>
27
28
<artifactId>dapr-spring-boot-starter</artifactId>
28
-
<version>0.14.1</version>
29
+
<version>0.x.x</version> // see below for the latest versions
<version>0.x.x</version> // see below for the latest versions
34
35
<scope>test</scope>
35
36
</dependency>
36
37
```
37
38
38
-
By adding these dependencies you can:
39
+
You can find the [latest released version here](https://central.sonatype.com/artifact/io.dapr.spring/dapr-spring-boot-starter).
40
+
41
+
By adding these dependencies, you can:
39
42
- Autowire a `DaprClient` to use inside your applications
40
43
- Use the Spring Data and Messaging abstractions and programming model that uses the Dapr APIs under the hood
41
44
- Improve your inner-development loop by relying on [Testcontainers](https://testcontainers.com/) to bootstrap Dapr Control plane services and default components
0 commit comments