About the Author |
|
xiii | |
About the Technical Reviewer |
|
xv | |
Acknowledgments |
|
xvii | |
Introduction |
|
xix | |
|
|
1 | (16) |
|
|
1 | (3) |
|
The Focus of this Study Guide |
|
|
4 | (1) |
|
Who Should Use this Study Guide |
|
|
5 | (1) |
|
About the Spring Web Certification Exam |
|
|
5 | (1) |
|
How to Use this Study Guide |
|
|
6 | (2) |
|
How this Book Is Structured |
|
|
7 | (1) |
|
How Each Chapter Is Structured |
|
|
7 | (1) |
|
|
8 | (1) |
|
|
8 | (1) |
|
|
8 | (1) |
|
Recommended Development Environment |
|
|
8 | (9) |
|
|
9 | (1) |
|
|
10 | (1) |
|
|
11 | (6) |
|
Chapter 2 Spring Fundamentals |
|
|
17 | (36) |
|
|
17 | (2) |
|
The Spring Core Container |
|
|
19 | (2) |
|
|
21 | (6) |
|
|
21 | (4) |
|
|
25 | (1) |
|
|
26 | (1) |
|
|
27 | (14) |
|
Lifecycle and Instantiation |
|
|
27 | (8) |
|
|
35 | (3) |
|
|
38 | (3) |
|
|
41 | (3) |
|
Testing Spring Applications |
|
|
44 | (1) |
|
|
45 | (1) |
|
|
46 | (1) |
|
|
46 | (7) |
|
|
53 | (98) |
|
|
53 | (2) |
|
|
55 | (12) |
|
|
56 | (5) |
|
Configuration Using Annotations |
|
|
61 | (3) |
|
Configuration Without Using web.xml |
|
|
64 | (3) |
|
|
67 | (42) |
|
|
68 | (26) |
|
|
94 | (15) |
|
|
109 | (10) |
|
|
110 | (5) |
|
|
115 | (4) |
|
|
119 | (19) |
|
|
125 | (4) |
|
|
129 | (3) |
|
|
132 | (5) |
|
|
137 | (1) |
|
|
138 | (1) |
|
|
139 | (5) |
|
|
144 | (7) |
|
Chapter 4 Spring Portlets |
|
|
151 | (38) |
|
|
154 | (2) |
|
|
156 | (1) |
|
The XML Part of the Configuration |
|
|
157 | (7) |
|
The Annotation Part of the Configuration |
|
|
164 | (4) |
|
Configuration Details and Recommendations |
|
|
168 | (1) |
|
The Development and Deployment of a Portlet Application |
|
|
169 | (19) |
|
Download, Install, Start, and Configure Liferay |
|
|
170 | (18) |
|
|
188 | (1) |
|
Chapter 5 Spring RESTful Services |
|
|
189 | (40) |
|
|
189 | (6) |
|
|
195 | (2) |
|
|
197 | (2) |
|
RESTful Applications Using Spring MVC |
|
|
199 | (21) |
|
RESTful Clients with Spring |
|
|
199 | (4) |
|
|
203 | (1) |
|
Implementing REST with Spring MVC |
|
|
204 | (9) |
|
Asynchronous REST Services Using @Async Annotated Methods |
|
|
213 | (3) |
|
|
216 | (4) |
|
|
220 | (1) |
|
|
221 | (1) |
|
|
222 | (7) |
|
Chapter 6 Spring Web with AJAX |
|
|
229 | (28) |
|
|
229 | (4) |
|
|
233 | (3) |
|
|
236 | (9) |
|
jQuery HTML DOM Manipulation |
|
|
240 | (3) |
|
|
243 | (2) |
|
Spring MVC, AJAX, and jQuery |
|
|
245 | (5) |
|
Using REST-Style Remoting with JSON |
|
|
246 | (4) |
|
|
250 | (3) |
|
|
253 | (1) |
|
|
253 | (1) |
|
|
254 | (3) |
|
Chapter 7 Spring Web Flow |
|
|
257 | (110) |
|
|
257 | (2) |
|
|
259 | (2) |
|
|
261 | (1) |
|
Configuration and Infrastructure Beans |
|
|
262 | (10) |
|
|
263 | (4) |
|
Configuration Using Annotations |
|
|
267 | (5) |
|
|
272 | (39) |
|
|
273 | (31) |
|
|
304 | (7) |
|
|
311 | (1) |
|
|
312 | (10) |
|
|
322 | (4) |
|
Flow Definition Inheritance |
|
|
326 | (1) |
|
|
327 | (30) |
|
Introduction to Spring Security |
|
|
327 | (1) |
|
Why Spring Security Is Awesome |
|
|
328 | (2) |
|
Spring Security XML Configuration |
|
|
330 | (13) |
|
Spring Security Java Configuration |
|
|
343 | (7) |
|
Securing Flow Definitions |
|
|
350 | (7) |
|
|
357 | (1) |
|
|
358 | (6) |
|
|
364 | (3) |
|
Chapter 8 Spring Boot and WebSocket |
|
|
367 | (36) |
|
|
367 | (1) |
|
|
368 | (17) |
|
|
373 | (7) |
|
Importing Additional Configuration Elements |
|
|
380 | (1) |
|
Running Spring Boot Applications |
|
|
381 | (2) |
|
Testing Spring Boot Applications |
|
|
383 | (2) |
|
|
385 | (1) |
|
Spring WebSocket Implementation |
|
|
386 | (4) |
|
Spring WebSocket Configuration |
|
|
390 | (2) |
|
WebSocket Client Application |
|
|
392 | (11) |
|
Configure the Server Application to Send Scheduled Messages |
|
|
397 | (1) |
|
|
398 | (5) |
|
Appendix: Resources and Quiz Answers |
|
|
403 | (14) |
|
|
401 | (11) |
|
Gradle Configuration Explained |
|
|
403 | (1) |
|
Building and Troubleshooting |
|
|
403 | (4) |
|
|
407 | (5) |
|
|
412 | (5) |
|
Quiz Solution for Chapter 2 |
|
|
412 | (1) |
|
Quiz Solution for Chapter 3 |
|
|
412 | (1) |
|
Quiz Solution for Chapter 5 |
|
|
413 | (1) |
|
Quiz Solution for Chapter 6 |
|
|
414 | (1) |
|
Quiz Solution for Chapter 7 |
|
|
414 | (3) |
Index |
|
417 | |