About the Author |
|
xiii | |
About the Technical Reviewer |
|
xv | |
Acknowledgments |
|
xvii | |
Chapter 1 Introduction to Spring Boot |
|
1 | (8) |
|
|
1 | (6) |
|
|
2 | (1) |
|
Spring Boot to the Rescue |
|
|
3 | (3) |
|
|
6 | (1) |
|
|
6 | (1) |
|
|
7 | (2) |
Chapter 2 Your First Spring Boot Application |
|
9 | (34) |
|
Installing Spring Boot CLI |
|
|
9 | (4) |
|
UNIX OSs: Linux, OS X, and Solaris |
|
|
9 | (2) |
|
|
11 | (2) |
|
Spring Boot with Maven and Gradle |
|
|
13 | (3) |
|
|
13 | (1) |
|
|
14 | (2) |
|
Spring Boot Using External Tools |
|
|
16 | (8) |
|
Spring Boot Using the Spring Initializr |
|
|
16 | (2) |
|
Using the Spring Initializr with UNIX CURL |
|
|
18 | (1) |
|
Spring Boot Using Spring Tool Suite (STS) |
|
|
19 | (5) |
|
Your First Spring Boot Application |
|
|
24 | (17) |
|
|
24 | (15) |
|
|
39 | (2) |
|
|
41 | (2) |
Chapter 3 Spring Boot Auto-Configuration, Features, and More |
|
43 | (30) |
|
|
43 | (4) |
|
Disabling a Specific Auto-Configuration |
|
|
45 | (2) |
|
©EnableAutoConfiguration and ©Enable<Technology> Annotations |
|
|
47 | (2) |
|
|
49 | (13) |
|
|
51 | (5) |
|
|
56 | (2) |
|
|
58 | (2) |
|
ApplicationRunner and CommandLineRunner |
|
|
60 | (2) |
|
Application Configuration |
|
|
62 | (10) |
|
Configuration Properties Examples |
|
|
63 | (6) |
|
|
69 | (3) |
|
|
72 | (1) |
Chapter 4 Spring Boot CLI |
|
73 | (16) |
|
|
73 | (14) |
|
|
74 | (2) |
|
|
76 | (2) |
|
|
78 | (1) |
|
|
79 | (1) |
|
|
80 | (1) |
|
|
81 | (1) |
|
|
81 | (1) |
|
|
82 | (3) |
|
|
85 | (1) |
|
|
86 | (1) |
|
|
87 | (2) |
Chapter 5 Spring with Spring Boot |
|
89 | (18) |
|
|
89 | (12) |
|
|
89 | (4) |
|
|
93 | (5) |
|
Spring Boot Web Applications |
|
|
98 | (3) |
|
Using Spring with Spring Boot |
|
|
101 | (3) |
|
|
101 | (1) |
|
Groovy Beans in Spring Boot |
|
|
102 | (1) |
|
Standalone Spring Apps vs. Spring Boot Apps |
|
|
103 | (1) |
|
Using Spring Technologies in Spring Boot |
|
|
104 | (1) |
|
|
105 | (2) |
Chapter 6 Testing with Spring Boot |
|
107 | (14) |
|
|
107 | (2) |
|
|
109 | (11) |
|
|
120 | (1) |
Chapter 7 Data Access with Spring Boot |
|
121 | (28) |
|
|
121 | (19) |
|
Data Access Using the JDBC Template with Spring Boot |
|
|
122 | (9) |
|
Data Access Using JPA with Spring Boot |
|
|
131 | (9) |
|
|
140 | (7) |
|
|
147 | (2) |
Chapter 8 Web Development with Spring Boot |
|
149 | (28) |
|
|
149 | (1) |
|
Spring Boot Web Applications |
|
|
150 | (21) |
|
Playing with the HAL Browser |
|
|
171 | (4) |
|
|
175 | (2) |
Chapter 9 Security with Spring Boot |
|
177 | (34) |
|
Simple Security for Spring Boot |
|
|
177 | (22) |
|
Security Using the application.properties File |
|
|
181 | (1) |
|
|
182 | (1) |
|
Security Using a Database |
|
|
183 | (3) |
|
|
186 | (13) |
|
|
199 | (10) |
|
|
209 | (2) |
Chapter 10 Messaging with Spring Boot |
|
211 | (34) |
|
|
211 | (1) |
|
|
211 | (10) |
|
|
217 | (4) |
|
Connect to Remote JMS Server |
|
|
221 | (1) |
|
RabbitMQ with Spring Boot |
|
|
221 | (10) |
|
|
221 | (1) |
|
RabbitMQ/AMQP: Exchanges, Bindings, and Queues |
|
|
221 | (10) |
|
|
231 | (1) |
|
Redis Messaging with Spring Boot |
|
|
231 | (6) |
|
|
231 | (6) |
|
|
237 | (1) |
|
WebSockets with Spring Boot |
|
|
237 | (7) |
|
|
244 | (1) |
Chapter 11 Spring Boot Actuator |
|
245 | (38) |
|
|
245 | (30) |
|
|
248 | (1) |
|
|
249 | (1) |
|
|
250 | (1) |
|
|
251 | (1) |
|
|
252 | (1) |
|
|
253 | (1) |
|
|
254 | (1) |
|
|
255 | (6) |
|
|
261 | (1) |
|
|
262 | (1) |
|
|
263 | (5) |
|
|
268 | (2) |
|
|
270 | (2) |
|
|
272 | (1) |
|
|
273 | (1) |
|
|
274 | (1) |
|
|
275 | (1) |
|
|
276 | (1) |
|
|
276 | (1) |
|
Changing the Management Endpoints Path |
|
|
276 | (1) |
|
Using Spring Boot Actuator in a Non-Web Application |
|
|
277 | (4) |
|
|
281 | (2) |
Chapter 12 Deploying Spring Boot |
|
283 | (24) |
|
Setting Up the Spring Boot Journal App |
|
|
283 | (7) |
|
Creating the SSL Self-Signed Keystore |
|
|
289 | (1) |
|
|
290 | (3) |
|
|
293 | (2) |
|
|
294 | (1) |
|
|
294 | (1) |
|
Creating Executable and Deployable WARs |
|
|
295 | (6) |
|
Deploying to a Tomcat-Based Server |
|
|
298 | (1) |
|
|
299 | (2) |
|
Creating Spring Boot Apps as a Service |
|
|
301 | (2) |
|
Spring Boot Apps as Windows Service |
|
|
302 | (1) |
|
|
303 | (3) |
|
|
306 | (1) |
Chapter 13 Spring Boot in the Cloud |
|
307 | (28) |
|
The Cloud and Cloud-Native Architectures |
|
|
307 | (1) |
|
Twelve-Factor Applications |
|
|
308 | (1) |
|
|
309 | (2) |
|
Preparing the Spring Boot Journal App as Microservice |
|
|
309 | (2) |
|
|
311 | (11) |
|
|
312 | (1) |
|
Pivotal Cloud Foundry Features |
|
|
312 | (1) |
|
Cloud Foundry CLI - Command Line Interface |
|
|
313 | (1) |
|
Development Environment - PCFDev |
|
|
313 | (9) |
|
|
322 | (11) |
|
Deploying to Pivotal Web Services |
|
|
325 | (8) |
|
|
333 | (2) |
Chapter 14 Extending Spring Boot Apps |
|
335 | (22) |
|
Custom Spring Boot Module |
|
|
335 | (18) |
|
The spring-boot-journal Project |
|
|
335 | (2) |
|
The journal-spring-boot-starter Project |
|
|
337 | (2) |
|
The journal-spring-boot-autoconfigure Project |
|
|
339 | (7) |
|
Package and Install the Journal Project |
|
|
346 | (2) |
|
The spring-boot-calendar Project |
|
|
348 | (5) |
|
|
353 | (3) |
|
|
356 | (1) |
Appendix: Spring Boot 1.4.x |
|
357 | (4) |
|
Spring Boot 1.4.X Release Notes |
|
|
357 | (4) |
|
Upgrading from Spring Boot 1.3 |
|
|
357 | (2) |
|
|
359 | (2) |
Index |
|
361 | |