Apress Access

Pro Spring 3

By Clarence Ho , Rob Harrop

  • eBook Price: $34.99
Buy eBook Buy Print Book
Pro Spring 3 updates the bestselling Pro Spring with the latest that the Spring Framework has to offer: version 3.1. At 1000 pages, this is by far the most comprehensive Spring book available, thoroughly exploring the power of Spring.

Full Description

  • Add to Wishlist
  • ISBN13: 978-1-4302-4107-2
  • 944 Pages
  • User Level: Intermediate to Advanced
  • Publication Date: April 17, 2012
  • Available eBook Formats: EPUB, MOBI, PDF

Related Titles

  • Go Recipes
  • Spring Persistence with Hibernate, Second Edition
  • Pro Spring Boot
  • Beginning Hibernate, 4th Edition
  • Reactive Java Programming
Full Description

The agile, lightweight, open-source Spring Framework continues to be the de facto leading enterprise Java application development framework for today's Java programmers and developers. It works with other leading open-source, agile and lightweight Java technologies like Hibernate, Groovy, MyBatis, and more. Spring now also works with Java EE and JPA 2 as well.

Pro Spring 3 updates the bestselling Pro Spring with the latest that the Spring Framework has to offer: version 3.1. At 1000 pages, this is by far the most comprehensive Spring book available, thoroughly exploring the power of Spring.

With Pro Spring 3, you’ll learn Spring basics and core topics, and gain access to the authors’ insights and real–world experiences with remoting, Hibernate, and EJB. Beyond the basics, you'll learn how to leverage the Spring Framework to build various tiers or parts of an enterprise Java application like transactions, the web and presentations tiers, deployment, and much more. A full sample application allows you to apply many of the technologies and techniques covered in this book and see how they work together.

After reading this definitive book, you'll be armed with the power of Spring to build complex Spring applications, top to bottom.

What you’ll learn

  • How to get started with the Spring Framework and its latest features
  • What Inversion of Control (IoC) and dependency injection (DI) are
  • Aspect-oriented programming techniques with Spring, and why they're important
  • Data access and persistence using Spring and Hibernate, MyBatis, JPA 2 and more
  • How to build transaction engines for your enterprise application and take advantage of other middle-tier features in Spring
  • How to build Spring-based web applications using Spring MVC and more
  • How to build Spring-based front ends
  • How the Spring Framework can work with scripting languages like Groovy to provide enhanced functionality for your applications
  • How to benefit from the Spring IDE

Who this book is for

This book is for experienced Java developers who may be learning Spring for the first time or have minimal exposure to the Spring Framework. It's aimed at those who are active in or plan on getting into enterprise Java application development.

Table of Contents

Table of Contents

1. Introducing Spring

2. Getting Started

3. Introducing the Sample Application

4. Introducing IoC and DI in Spring

5. Spring Configuration in Detail

6. Introducing Spring AOP

7. More Spring AOP and Annotations

8. Spring JDBC Support

9. Using Hibernate in Spring

10. Data Access in Spring with JPA 2

11. Using MyBatis in Spring

12. Designing and Implementing Spring-Based Applications

13. Transaction Management

14. Validation with Type Conversion and Formatting

15. Task Scheduling in Spring

16. Using Spring Remoting

17. Web Applications with Spring

18. Spring Web Flow and JSF

19. Spring Testing

20. Spring Projects: Batch, Integration, Roo

21. Sample Application in Detail

22. Scripting Support in Spring

23. Spring Application Monitoring

A. SpringSource Tool Suite (Spring IDE)

Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.


If you think that you've found an error in this book, please let us know by emailing to editorial@apress.com . You will find any confirmed erratum below, so you can check if your concern has already been addressed.

On page 64:

Your example Java code uses a the classic non-generified version of getBean() method of the BeanFactory class:

Oracle oracle = (Oracle)factory.getBean("oracle");

Since the book is about Spring Framework 3, it would be more relevant if you demonstrate the generified version of the APIs as follows:

Oracle oracle = factory.getBean("oracle", Oracle.class);

On page 69:

In the example code listing 4-20 the line ctx.load("classpath:app-context-xml.xml"); should be ctx.load("classpath:META-INF/spring/app-context-annotation.xml"); or else the code does not work.


    1. Pro JavaFX 8


      View Book

    2. Practical Eclipse Rich Client Platform Projects


      View Book

    3. Pro Android 4


      View Book

    4. Pro Spring


      View Book