Spring Recipes: A Problem-Solution Approach, Third Edition builds upon the best-selling success of the previous editions and focuses on the latest Spring Framework features for building enterprise Java applications. This book provides code recipes for the following, found in the latest Spring:
-
Spring fundamentals: Spring IoC container, Spring AOP/ AspectJ, and more
-
Spring enterprise: Spring Java EE integration, Spring Integration, Spring Batch, Spring Remoting, messaging, transactions, and working with big data and the cloud using Hadoop and MongoDB
-
Spring web: Spring MVC, other dynamic scripting, integration with the popular Grails Framework (and Groovy), REST/web services, and more
This book guides you step-by-step through topics using complete and real-world code examples. When you start a new project, you can consider copying the code and configuration files from this book, and then modifying them for your needs. This can save you a great deal of work over creating a project from scratch!
What you’ll learn
-
How to develop with the core Spring Framework, aspect oriented programming, dependency injection, and inversion of control
-
How to create Spring web services using Spring REST, SOAP and remoting
-
How to build a web client using Spring MVC and how to work with other web frameworks
-
How to use Grails and Groovy
-
How to integrate Spring with social media and mobile apps
-
How to work with Spring Data, Batch, NoSQL and big data; then integrating with Hadoop, MongoDB, Redis and more
-
How to create and manage Spring transactions
-
How to handle Spring messaging, integration, testing, and caching
-
How to secure your Spring applications
Who this book is for
This book is for Java developers who would like to rapidly gain hands-on experience with Java/Java EE development using the Spring framework. If you are already a developer using Spring in your projects, then you can also use this book as a reference—you’ll find the code examples very useful.
Table of Contents
1. Spring Development Tools
2. Spring Core Tasks
3. Spring Annotation Driven Core Tasks
4. Spring @MVC
5. Spring REST
6. Spring Social
7. Spring Security
8. Spring Mobile
9. Spring with Other Web Frameworks
10. Data Access
11. Spring Transaction Management
12. Spring Batch
13. Spring NoSQL and Big Data
14. Spring Java Enterprise Services and Remoting Technologies
15. Spring Messaging
16. Spring Integration
17. Spring Testing
18. Grails
Appendix A. Spring Deployment to the Cloud (available exclusively for download via apress.com)
Appendix B. Spring Caching (available exclusively for download via apress.com)