A Peruvian Analyst, Designer and Java Programmer that enjoys working with frameworks like Spring, Hibernate and others, Playing with Java and compositing Music, some interests are Playing bass and guitar, listening to music (Pink Floyd, Rick Wakeman), reading the Bible and normally buying and reading Java books, here my Blog http://manueljordan.wordpress.com/ Manuel has posted 31 posts at DZone. View Full User Profile

Spring Recipes: A Problem-Solution Approach

  • submit to reddit
Published by: Apress
ISBN: 1590599799

Reviewer Ratings




Buy it now

One Minute Bottom Line

This wonderful book, Spring Recipes, covers in a very decent way Spring 2.5 from basic to advanced and in many cases some compatible configurations for 1.x, scalable. It is a way to learn each chapter throught the book, 19 well-organized chapters that cover the most important topics in the J2EE world with Spring, and of course, Spring core itself


My personal analysis and appreciation below

Part 1: Core 1
  • Chapter 1 Inversion of Control and Containers
  • Chapter 2 Introduction to Spring
  • Chapter 3 Bean Configuration in Spring
  • Chapter 4 Advanced Spring IoC Container
  • Chapter 5 Dynamic Proxy and Classic Spring AOP
  • Chapter 6 Spring 2.x AOP and AspectJ Support

The best book in handle in how to teach you these topics with a very decent material specially for AOP. This Part is almost dedicated for beginners and already Spring developers that want to learn the new features used by Spring.

Part 2: Fundamentals
  • Chapter 7 Spring JDBC Support
  • Chapter 8 Transaction Management in Spring
  • Chapter 9 Spring ORM Support
  • Chapter 10 Spring MVC Framework
  • Chapter 11 Integrating Spring with Other Web Frameworks
  • Chapter 12 Spring Testing Support

For "Spring JDBC Support", it has an excellent explanation and reason of the things. It offers a concrete way to learn sure jdbc with/without Spring support and to see the important differences about code/configuration/features

For "Transaction Management in Spring", it has good theory and clear concrete examples teaching different ways in how handle many options for this important topic (furthermore with AOP for Spring 1.x/2.x). The most important feature that I have seen in this chapter and really I like it, is that, this is the unique book written (among the books I have already read) that offers examples for almost all the options available about configurations for "Propagation Behaviors"(the two most important) and for "Isolation Levels"(for example, all of them, except Serializable), so it gives you really a better idea about the problems related with transactions and its solutions for each approach. Furthermore, it really teaches you the differences between the configurations and its respective behavior for each one. Instead, other books only show a table with the theory of each point, and then a simple example and nothing more.

For "Spring ORM Support ", it teaches you how to make a successful integration with Hibernate/JPA and how to manage a transaction with them and Spring.

For "Spring MVC Framework", it teaches you in a very good way the most important things in this important framework of Spring (I consider this better than Struts) in many ways and showing how to use interfaces and super classes of controller offered by Spring MVC with simple and concrete examples

For "Integrating Spring with Other Web Frameworks", if you are a veteran using Struts 1.x, it shows you in a fast and concrete way how to get a successful integration (not for Struts 2.x), same style for JSF. Something important and very necessary currently in a web application is ajax. The most important solution is DWR and this book teaches you how to get a successful integration (the classic way)

For "Spring Testing Support", important in any phase of development, the chapter is nice, showing how use JUnit(4.4 and 3.8) with Spring, and even with MVC controllers. Furthermore EasyMock is included in this chapter too; a nice approach is that it teaches you how to use JUnit with "Managing Transactions" and "Accessing Databases"

Part 3: Advanced
  • Chapter 13 Spring Security
  • Chapter 14 Spring Portlet MVC Framework
  • Chapter 15 Spring Web Flow
  • Chapter 16 Spring Remoting and Web Services
  • Chapter 17 Spring Support for EJB and JMS
  • Chapter 18 Spring Support for JMX, E-mail, and Scheduling
  • Chapter 19 Scripting in Spring

For "Spring Security" this is clearly a critical area in any application in real live. This book teaches you in a easy and concrete way the classic "Url Access" and "Method Invocations" even with Pointcuts among other features

For "Spring Portlet MVC Framework", I don’t know anything about Portlet but this chapter is clearly well structured like the other chapters

For "Spring Web Flow" explains in a decent way SWF for 2.0 version. I think that SWF should be explained in a dedicated book

For "Spring Remoting and Web Services" offers a very clear and concrete use of many options related with this topic like RMI, Hessian, Burlap, Web Services; easy material to learn important things in this topic.

For "Spring Support for EJB and JMS", again I don’t know anything about EJB but this chapter is clearly well structured like the other chapters and teaches you how to work with EJB 2.x/3.0 with Spring. It covers in a good way JMS with concrete and detailed examples.

For "Spring Support for JMX, E-mail, and Scheduling", it covers well these three topics. The chapter is decent, and has concrete theory and codes.

For "Scripting in Spring" is the shortest one. I don’t know why, but it’s really very concrete in the way it is taught.

Published at DZone with permission of its author, Manuel Jordan.

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)


mort sahl replied on Sun, 2008/09/21 - 11:55am

I've been trying to learn Spring and have read everything I can get my hands on about it.   Not enough good into is out there, specifically dealing with Spring 2.5x.  This book has been my savior.  Extremely well written, easy to understand examples, and a very concise "here's how you do it" approach.

Manuel Jordan replied on Sun, 2008/09/21 - 7:26pm in response to: mort sahl

[quote=mortsahl]I've been trying to learn Spring and have read everything I can get my hands on about it. Not enough good into is out there, specifically dealing with Spring 2.5x. This book has been my savior. Extremely well written, easy to understand examples, and a very concise "here's how you do it" approach.[/quote]

i would be agree,

some documentation out there lack in some way the most important element in how teach some topic,

the reason of the things,

for that reason that I always prefer a book, and this is the best written

enjoy the book




garymak replied on Thu, 2008/09/25 - 5:01am in response to: Manuel Jordan

Thank you for the review, Manuel! I hope my book can really help you.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.