Spring Recipes: A Problem-Solution Approach
Spring addresses most aspects of Java/Java EE application development and offers simple solutions to them. By using Spring, you will be lead to use industry best practices to design and implement your applications. The releases of Spring 2.x added many improvements and new features to the 1.x versions. Spring Recipes: A Problem–Solution Approach focuses on Spring 2.5 features for building enterprise Java applications.
Spring Recipes covers Spring 2.5 from basic to advanced, including Spring IoC container, Spring AOP and AspectJ, Spring data access support, Spring transaction management, Spring Web and Portlet MVC, Spring testing support, Spring support for remoting, EJB, JMS, JMX, E–mail, scheduling, and scripting languages. This book also introduces several common Spring Portfolio projects that will bring significant value to your application development, including Spring Security, Spring Web Flow, and Spring Web Services.
The topics in this book are introduced by complete and real–world code examples that you can follow step by step. Instead of abstract descriptions on complex concepts, you will find live examples in this book. 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
This book is for Java developers who would like to gain hands–on experience rapidly on Java/Java EE development using the Spring framework. If you are already a developer using Spring in your projects, you can also use this book as a reference, and you’ll find the code examples very useful.
You don’t need much Java EE experience to read this book. However, it assumes that you know the basics of object–oriented programming with Java (e.g., creating a class/interface, implementing an interface, extending a base class, running a main class, setting up your classpath, and so on). It also assumes you have basic knowledge on web and database concepts and know how to create dynamic web pages and query databases with SQL statements.
What people are saying - Write a review
The first book I came across while learning Spring Framework was 'Spring in action by Craig Walls, 3rd Edition, Manning Pub.). It was my favorite book and have read it more than 2-3 times and then somehow while surfing on internet on one lazy day I simply googled 'Top 10 books on Spring Framework' and that's how I introduced to 'Spring Racipes by Gary Mak and team'.
On the first day itself I read 135 pages of Spring Racipes in one go and felt indeed good as I got to know little deeper understanding of IOC container & other basic stuff w.r.t. Bean creation & maintenance which I didn't found in Spring in Action. With the same enthusiasm I continue reading on 2nd day and covered AOP and Spring Security chapters.. I must say it really strengthen my knowledge of Spring AOP, I loved this 3rd Chapter.
I'm still in the middle of reading this book and will update my comment soon about remaining chapters.. but the initial feelings is very encouraging and I haven't felt bored for a single minute (Its like watching 'Shawshank's Redemption' which keeps you occupied on your seat :-)
What makes it best :
1. Simple and easy code examples
2. Focused less(or should say enough) on theory and more on examples
3. IOC Container/AOP concepts are very well written
4. Problem/Solution approach at the beginning of every new concept make you grasp the theme
5. I bet you'll never feel bored :-)
This is by far the best technical book on Spring Framework. What I like best is the hands-on, learn by example approach. It introduces complexity in iterations such that by the time you finish a chapter, you have a very good understanding of what is really happening.