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.