Pro Spring / Edition 1

Paperback (Print)
Buy New
Buy New from
Used and New from Other Sellers
Used and New from Other Sellers
from $1.99
Usually ships in 1-2 business days
(Save 96%)
Other sellers (Paperback)
  • All (37) from $1.99   
  • New (10) from $32.52   
  • Used (27) from $1.99   


Spring—the open source Java–based framework—allows you to build lighter, better performing applications. Written by Spring insiders Rob Harrop and Jan Machacek, Pro Spring is the only book endorsed by Rod Johnson, founder of the Spring Framework. At over 800 pages, this is by far the most comprehensive book available and thoroughly explores the power of Spring. You’ll learn Spring basics and core topics, as well as share the authors’ insights and real–world experience with remoting, mail integration, hibernate, and EJB.

From the foreword: “Rob's enthusiasm for Spring—and technology in general—is infectious. He has a wide range of industry experience and a refreshingly practical, common sense approach to applying it. All those qualities come out in this book. It’s evident on nearly every page that it reflects in–depth experience with Spring and J2EE as a whole. Rob is not only an author and open source developer—he is an application developer, like his readers. I firmly believe that the best writing on software development comes out of experience in the trenches, so this is my kind of book.

If you’re new to Spring, this book will help you understand its core concepts and the background in areas such as transaction management and O/R mapping that underpins them. If you’re already using Spring, you will learn about features you haven’t yet seen and hopefully, gain a deeper understanding of those features youre already using.”

—Rod Johnson, Founder of the Spring Framework

Read More Show Less

Editorial Reviews

From Barnes & Noble
The Barnes & Noble Review
Lightweight frameworks are the hottest trend among enterprise Java developers. If you can avoid using complicated architectures like EJB, why wouldn’t you? The “hottest of the hot” right now is Spring, and this book introduces it in unprecedented depth.

The authors have been constructing production systems with Spring since before 1.0; Coauthor Rob Harrop currently leads Spring’s project to provide JMX support. They don’t just know how to use Spring -- they know how to work in harmony with its philosophy and get all the benefits Spring can provide.

Spring’s philosophy is “minimal impact”: you should have to make as few changes as possible to gain value from it. Throughout, the authors focus on ways to keep the impact on your applications low. Spring’s core principle, inversion of control (or, more specifically, “dependency injection”) enables several benefits. You can write less glue code. You can externalize dependencies and manage them centrally. It’s easier to design applications well. The authors show how to leverage each of these advantages to the fullest.

You’ll discover what dependency injection means to your applications, then learn how to make your beans “Spring-aware” and manage their lifecycles. The authors introduce Aspect-Oriented Programming and Spring’s AOP implementation, then turn to data access via JDBC and the Hibernate Query Language. There are five meaty chapters on Spring for the middle tier, covering everything from transaction management to remoting.

Many Spring applications will be web applications. This book addresses them in depth. You’ll learn how to use Spring’s MVC implementation; integrate Spring with Struts; and use view technologies ranging from Velocity to PDF. Whatever you’re building, if you want deep mastery of Spring, this book is an outstanding choice. Bill Camarda, from the May 2005 Read Only

Read More Show Less

Product Details

  • ISBN-13: 9781590594612
  • Publisher: Apress
  • Publication date: 2/1/2005
  • Edition number: 1
  • Pages: 832
  • Product dimensions: 1.66 (w) x 7.50 (h) x 9.25 (d)

Meet the Author

Rob Harrop is a software consultant specializing in delivering high-performance, highly-scalable enterprise applications. He is an experienced architect with a particular flair for understanding and solving complex design issues. With a thorough knowledge of both Java and .NET, Harrop has successfully deployed projects across both platforms. He also has extensive experience across a variety of sectors, retail and government in particular.

Harrop is the author of five books, including Pro Spring, a widely-acclaimed, comprehensive resource on the Spring Framework.

Harrop has been a core developer of the Spring Framework since June 2004 and leads the JMX and AOP efforts. He co-founded U.K.-based software company, Cake Solutions, in May 2001, having spent the previous two years working as lead developer for a successful dotcom start-up. Rob is a member of the JCP and is involved in the JSR-255 Expert Group for JMX 2.0.

Jan Machacek is a chief software architect at Cake Solutions Limited (, a U.K.-based software company. He has been an early adopter of Spring at Cake Solutions and has seen the dramatic change the Spring framework has brought to the Java world. As part of his job, Jan designs and oversees the development of majority of Cake's projects. Where appropriate, Jan also applies his interest in declarative programming and artificial intelligence. Throughout his programming career, Jan has designed and implemented large J2EE and .NET systems for the U.K. government and large private sector bodies. When not programming, Jan enjoys foreign languages; he also enters races and time trials as a member of the Manchester Wheelers' cycling club.

Read More Show Less

Customer Reviews

Average Rating 4
( 2 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Terms of Use.
  • - Barnes & reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing all of 2 Customer Reviews
  • Anonymous

    Posted April 6, 2005

    some overblown rhetoric

    The book makes striking claims in favour of the new Spring framework. It is presented as revolving around what the authors term Dependancy Injection (DI). Which can be used in place of a Lookup approach, which makes a class by calling a Factory or container with a key that labels that class. Hopefully, the Lookup will return an instance of the class. The book points out that this common approach is possibly more complex than DI. The Lookup registry might be unavailable, or the key for that class might have changed. The DI can lead to shorter and simpler code, which might also be easier to test. The book goes on to show cases of how Spring can permit simpler JDBC writing, with less explicit exception handling. As you may know, standard JDBC usages often lead to ugly sections of try/catch statements littering your code. So the brevity offered by Spring might enable easier maintenance. Likewise, Spring is said to give an easier alternative to a heavyweight EJB usage, in terms of less code to maintain. But the authors do indulge in some overblown rhetoric. Like calling a Factory and Singleton 'false patterns'. Certainly, for Singletons, there are times when it is natural in your code for a class to really have only one instantiation at a time, which is the gist of a Singleton. While Factory classes can encapsulate and hide a lot of complexity from you. While it means that, yes, if a Factory call fails, the reason can be obscure. But when it works, which should be most of the time, you have a nice partitioning of your code. The authors are overreaching, and adversely impacting the strength of their arguments.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted March 5, 2005

    Outstanding book!

    I'll keep this short by saying, if you want to learn the Spring framework, this is the book for you. The other book 'Spring in Action' is also well done. But this one is much more in-depth.

    Was this review helpful? Yes  No   Report this review
Sort by: Showing all of 2 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)