0
# Spring Framework Integration
1
2
Spring Framework BOM and related Spring project BOMs with version alignment. These components provide the core Spring Framework functionality and integration with other Spring projects.
3
4
## Capabilities
5
6
### Spring Framework Core
7
8
Core Spring Framework components with BOM-managed versions.
9
10
```gradle { .api }
11
// Spring Framework BOM (manages all Spring modules)
12
'org.springframework:spring-framework-bom' // 6.2.8
13
14
// Core container
15
'org.springframework:spring-context' // 6.2.8
16
'org.springframework:spring-core' // 6.2.8
17
'org.springframework:spring-beans' // 6.2.8
18
'org.springframework:spring-expression' // 6.2.8
19
20
// AOP and instrumentation
21
'org.springframework:spring-aop' // 6.2.8
22
'org.springframework:spring-aspects' // 6.2.8
23
'org.springframework:spring-instrument' // 6.2.8
24
25
// Data access and integration
26
'org.springframework:spring-jdbc' // 6.2.8
27
'org.springframework:spring-tx' // 6.2.8
28
'org.springframework:spring-orm' // 6.2.8
29
'org.springframework:spring-oxm' // 6.2.8
30
'org.springframework:spring-jms' // 6.2.8
31
'org.springframework:spring-r2dbc' // 6.2.8
32
33
// Web and remoting
34
'org.springframework:spring-web' // 6.2.8
35
'org.springframework:spring-webmvc' // 6.2.8
36
'org.springframework:spring-webflux' // 6.2.8
37
'org.springframework:spring-websocket' // 6.2.8
38
39
// Testing
40
'org.springframework:spring-test' // 6.2.8
41
```
42
43
### Spring Data Projects
44
45
Spring Data BOM providing data access frameworks for various data stores.
46
47
```gradle { .api }
48
// Spring Data BOM (manages all Spring Data modules)
49
'org.springframework.data:spring-data-bom' // 2025.0.1
50
51
// JPA and relational databases
52
'org.springframework.data:spring-data-jpa' // 3.4.1
53
'org.springframework.data:spring-data-jdbc' // 3.4.1
54
'org.springframework.data:spring-data-r2dbc' // 3.4.1
55
56
// NoSQL databases
57
'org.springframework.data:spring-data-mongodb' // 4.4.1
58
'org.springframework.data:spring-data-neo4j' // 7.4.1
59
'org.springframework.data:spring-data-cassandra' // 4.4.1
60
'org.springframework.data:spring-data-couchbase' // 5.4.1
61
'org.springframework.data:spring-data-elasticsearch' // 5.4.1
62
'org.springframework.data:spring-data-redis' // 3.4.1
63
64
// Other data stores
65
'org.springframework.data:spring-data-ldap' // 3.4.1
66
'org.springframework.data:spring-data-rest-core' // 4.4.1
67
'org.springframework.data:spring-data-rest-webmvc' // 4.4.1
68
69
// Commons and utilities
70
'org.springframework.data:spring-data-commons' // 3.4.1
71
'org.springframework.data:spring-data-keyvalue' // 3.4.1
72
```
73
74
### Spring Security
75
76
Spring Security BOM providing comprehensive security framework.
77
78
```gradle { .api }
79
// Spring Security BOM (manages all Spring Security modules)
80
'org.springframework.security:spring-security-bom' // 6.5.1
81
82
// Core security
83
'org.springframework.security:spring-security-core' // 6.5.1
84
'org.springframework.security:spring-security-config' // 6.5.1
85
'org.springframework.security:spring-security-web' // 6.5.1
86
87
// Authentication and authorization
88
'org.springframework.security:spring-security-oauth2-core' // 6.5.1
89
'org.springframework.security:spring-security-oauth2-client' // 6.5.1
90
'org.springframework.security:spring-security-oauth2-resource-server' // 6.5.1
91
'org.springframework.security:spring-security-oauth2-jose' // 6.5.1
92
93
// Integration modules
94
'org.springframework.security:spring-security-messaging' // 6.5.1
95
'org.springframework.security:spring-security-rsocket' // 6.5.1
96
'org.springframework.security:spring-security-acl' // 6.5.1
97
'org.springframework.security:spring-security-cas' // 6.5.1
98
'org.springframework.security:spring-security-ldap' // 6.5.1
99
100
// Testing
101
'org.springframework.security:spring-security-test' // 6.5.1
102
```
103
104
### Spring Authorization Server
105
106
OAuth2 Authorization Server implementation.
107
108
```gradle { .api }
109
// Spring Authorization Server
110
'org.springframework.security:spring-security-oauth2-authorization-server' // 1.5.1
111
```
112
113
### Spring Batch
114
115
Enterprise batch processing framework.
116
117
```gradle { .api }
118
// Spring Batch BOM (manages all Spring Batch modules)
119
'org.springframework.batch:spring-batch-bom' // 5.2.2
120
121
// Core batch processing
122
'org.springframework.batch:spring-batch-core' // 5.2.2
123
'org.springframework.batch:spring-batch-infrastructure' // 5.2.2
124
125
// Integration and extensions
126
'org.springframework.batch:spring-batch-integration' // 5.2.2
127
128
// Testing
129
'org.springframework.batch:spring-batch-test' // 5.2.2
130
```
131
132
### Spring Integration
133
134
Enterprise integration patterns framework.
135
136
```gradle { .api }
137
// Spring Integration BOM (manages all Spring Integration modules)
138
'org.springframework.integration:spring-integration-bom' // 6.5.0
139
140
// Core integration
141
'org.springframework.integration:spring-integration-core' // 6.5.0
142
143
// Protocol and transport adapters
144
'org.springframework.integration:spring-integration-http' // 6.5.0
145
'org.springframework.integration:spring-integration-jms' // 6.5.0
146
'org.springframework.integration:spring-integration-kafka' // 6.5.0
147
'org.springframework.integration:spring-integration-mail' // 6.5.0
148
'org.springframework.integration:spring-integration-ftp' // 6.5.0
149
'org.springframework.integration:spring-integration-sftp' // 6.5.0
150
'org.springframework.integration:spring-integration-file' // 6.5.0
151
'org.springframework.integration:spring-integration-jdbc' // 6.5.0
152
'org.springframework.integration:spring-integration-jpa' // 6.5.0
153
'org.springframework.integration:spring-integration-mongodb' // 6.5.0
154
'org.springframework.integration:spring-integration-redis' // 6.5.0
155
'org.springframework.integration:spring-integration-ws' // 6.5.0
156
'org.springframework.integration:spring-integration-xml' // 6.5.0
157
158
// Testing
159
'org.springframework.integration:spring-integration-test' // 6.5.0
160
```
161
162
### Spring AMQP
163
164
RabbitMQ and AMQP messaging integration.
165
166
```gradle { .api }
167
// Spring AMQP BOM (manages all Spring AMQP modules)
168
'org.springframework.amqp:spring-amqp-bom' // 3.2.5
169
170
// Core AMQP
171
'org.springframework.amqp:spring-amqp' // 3.2.5
172
173
// RabbitMQ integration
174
'org.springframework.amqp:spring-rabbit' // 3.2.5
175
'org.springframework.amqp:spring-rabbit-junit' // 3.2.5
176
'org.springframework.amqp:spring-rabbit-test' // 3.2.5
177
178
// Stream support
179
'org.springframework.amqp:spring-rabbit-stream' // 3.2.5
180
```
181
182
### Spring Kafka
183
184
Apache Kafka integration framework.
185
186
```gradle { .api }
187
// Spring Kafka (not managed by BOM - standalone versioning)
188
'org.springframework.kafka:spring-kafka' // 3.3.7
189
'org.springframework.kafka:spring-kafka-test' // 3.3.7
190
```
191
192
### Spring Pulsar
193
194
Apache Pulsar integration framework.
195
196
```gradle { .api }
197
// Spring Pulsar BOM (manages all Spring Pulsar modules)
198
'org.springframework.pulsar:spring-pulsar-bom' // 1.2.7
199
200
// Core Pulsar integration
201
'org.springframework.pulsar:spring-pulsar' // 1.2.7
202
'org.springframework.pulsar:spring-pulsar-reactive' // 1.2.7
203
204
// Testing
205
'org.springframework.pulsar:spring-pulsar-test' // 1.2.7
206
```
207
208
### Spring Session
209
210
Session management framework.
211
212
```gradle { .api }
213
// Spring Session BOM (manages all Spring Session modules)
214
'org.springframework.session:spring-session-bom' // 3.5.1
215
216
// Core session management
217
'org.springframework.session:spring-session-core' // 3.5.1
218
219
// Data store implementations
220
'org.springframework.session:spring-session-data-redis' // 3.5.1
221
'org.springframework.session:spring-session-data-mongodb' // 3.5.1
222
'org.springframework.session:spring-session-hazelcast' // 3.5.1
223
224
// JDBC implementation
225
'org.springframework.session:spring-session-jdbc' // 3.5.1
226
```
227
228
### Spring Web Services
229
230
SOAP web services framework.
231
232
```gradle { .api }
233
// Spring WS BOM (manages all Spring WS modules)
234
'org.springframework.ws:spring-ws-bom' // 4.1.0
235
236
// Core web services
237
'org.springframework.ws:spring-ws-core' // 4.1.0
238
239
// Security and support
240
'org.springframework.ws:spring-ws-security' // 4.1.0
241
'org.springframework.ws:spring-ws-support' // 4.1.0
242
243
// Testing
244
'org.springframework.ws:spring-ws-test' // 4.1.0
245
```
246
247
### Spring HATEOAS
248
249
Hypermedia-driven REST services framework.
250
251
```gradle { .api }
252
// Spring HATEOAS
253
'org.springframework.hateoas:spring-hateoas' // 2.5.1
254
```
255
256
### Spring GraphQL
257
258
GraphQL integration framework.
259
260
```gradle { .api }
261
// Spring GraphQL
262
'org.springframework.graphql:spring-graphql' // 1.4.0
263
'org.springframework.graphql:spring-graphql-test' // 1.4.0
264
```
265
266
### Spring LDAP
267
268
LDAP integration framework.
269
270
```gradle { .api }
271
// Spring LDAP (manages all Spring LDAP modules)
272
'org.springframework.ldap:spring-ldap-core' // 3.3.1
273
'org.springframework.ldap:spring-ldap-ldif-core' // 3.3.1
274
'org.springframework.ldap:spring-ldap-odm' // 3.3.1
275
'org.springframework.ldap:spring-ldap-test' // 3.3.1
276
```
277
278
### Spring Retry
279
280
Retry and circuit breaker patterns.
281
282
```gradle { .api }
283
// Spring Retry
284
'org.springframework.retry:spring-retry' // 2.0.12
285
```
286
287
### Spring REST Docs
288
289
API documentation generation from tests.
290
291
```gradle { .api }
292
// Spring REST Docs BOM (manages all Spring REST Docs modules)
293
'org.springframework.restdocs:spring-restdocs-bom' // 3.0.4
294
295
// Core documentation generation
296
'org.springframework.restdocs:spring-restdocs-core' // 3.0.4
297
298
// Framework integrations
299
'org.springframework.restdocs:spring-restdocs-mockmvc' // 3.0.4
300
'org.springframework.restdocs:spring-restdocs-webtestclient' // 3.0.4
301
'org.springframework.restdocs:spring-restdocs-restassured' // 3.0.4
302
303
// Output formats
304
'org.springframework.restdocs:spring-restdocs-asciidoctor' // 3.0.4
305
```
306
307
## Usage Examples
308
309
### Basic Spring Framework Integration
310
311
```gradle
312
dependencies {
313
implementation platform('org.springframework.boot:spring-boot-dependencies:3.5.3')
314
315
// Spring Framework modules (versions managed by BOM)
316
implementation 'org.springframework:spring-context'
317
implementation 'org.springframework:spring-web'
318
implementation 'org.springframework:spring-webmvc'
319
320
testImplementation 'org.springframework:spring-test'
321
}
322
```
323
324
### Data Access with Spring Data
325
326
```gradle
327
dependencies {
328
implementation platform('org.springframework.boot:spring-boot-dependencies:3.5.3')
329
330
// Spring Data modules (versions aligned via spring-data-bom)
331
implementation 'org.springframework.data:spring-data-jpa'
332
implementation 'org.springframework.data:spring-data-redis'
333
implementation 'org.springframework.data:spring-data-rest-webmvc'
334
335
testImplementation 'org.springframework.boot:spring-boot-starter-test'
336
}
337
```
338
339
### Security Integration
340
341
```gradle
342
dependencies {
343
implementation platform('org.springframework.boot:spring-boot-dependencies:3.5.3')
344
345
// Spring Security modules (versions managed by spring-security-bom)
346
implementation 'org.springframework.security:spring-security-web'
347
implementation 'org.springframework.security:spring-security-config'
348
implementation 'org.springframework.security:spring-security-oauth2-resource-server'
349
350
testImplementation 'org.springframework.security:spring-security-test'
351
}
352
```
353
354
### Messaging Integration
355
356
```gradle
357
dependencies {
358
implementation platform('org.springframework.boot:spring-boot-dependencies:3.5.3')
359
360
// Multiple messaging frameworks
361
implementation 'org.springframework.amqp:spring-rabbit'
362
implementation 'org.springframework.kafka:spring-kafka'
363
implementation 'org.springframework.pulsar:spring-pulsar'
364
implementation 'org.springframework.integration:spring-integration-core'
365
366
testImplementation 'org.springframework.amqp:spring-rabbit-test'
367
testImplementation 'org.springframework.kafka:spring-kafka-test'
368
}
369
```
370
371
### Enterprise Integration
372
373
```gradle
374
dependencies {
375
implementation platform('org.springframework.boot:spring-boot-dependencies:3.5.3')
376
377
// Enterprise patterns
378
implementation 'org.springframework.batch:spring-batch-core'
379
implementation 'org.springframework.integration:spring-integration-core'
380
implementation 'org.springframework.integration:spring-integration-kafka'
381
implementation 'org.springframework.session:spring-session-data-redis'
382
383
testImplementation 'org.springframework.batch:spring-batch-test'
384
testImplementation 'org.springframework.integration:spring-integration-test'
385
}
386
```