The de facto reference guide to Spring.
Totally revised for Spring 3.0, Spring in Action, Third Edition is a hands-on guide to the Spring Framework. It covers the latest features, tools, and practices including Spring MVC, REST, Security, Web Flow, and more. Following short code snippets and an ongoing example developed throughout the book, you'll learn how to build simple and efficient J2EE applications.
about this book
about the cover illustration
Part 1 Core Spring
1. Chapter 1 Springing into action
1.1. Simplifying Java development
1.2. Containing your beans
1.3. Surveying the Spring landscape
1.4. What’s new in Spring
2. Chapter 2 Wiring beans
2.1. Declaring beans
2.2. Injecting into bean properties
2.3. Wiring with expressions
3. Chapter 3 Minimizing XML configuration in Spring
3.1. Automatically wiring bean properties
3.2. Wiring with annotations
3.3. Automatically discovering beans
3.4. Using Spring’s Java-based configuration
4. Chapter 4 Aspect-oriented Spring
4.1. What’s aspect-oriented programming?
4.2. Selecting join points with pointcuts
4.3. Declaring aspects in XML
4.4. Annotating aspects2
4.5. Injecting AspectJ aspects
Part 2 Spring application essentials
5. Chapter 5 Hitting the database
5.1. Learning Spring’s data access philosophy
5.2. Configuring a data source
5.3. Using JDBC with Spring
5.4. Integrating Hibernate with Spring
5.5. Spring and the Java Persistence API
6. Chapter 6 Managing transactions
6.1. Understanding transactions
6.2. Choosing a transaction manager
6.3. Programming transactions in Spring
6.4. Declaring transactions
7. Chapter 7 Building web applications with Spring MVC
7.1. Getting started with Spring MVC
7.2. Writing a basic controller
7.3. Handling controller input
7.4. Processing forms
7.5. Handling file uploads
8. Chapter 8 Working with Spring Web Flow
8.1. Installing Spring Web Flow
8.2. The components of a flow
8.3. Putting it all together: the pizza flow
8.4. Securing web flows
9. Chapter 9 Securing Spring
9.1. Introducing Spring Security
9.2. Securing web requests
9.3. Securing view-level elements
9.4. Authenticating users
9.5. Securing methods
Part 3 Integrating Spring
10. Chapter 10 Working with remote services
10.1. An overview of Spring remoting
10.2. Working with RMI
10.3. Exposing remote services with Hessian and Burlap
10.4. Using Spring’s HttpInvoker
10.5. Publishing and consuming web services
11. Chapter 11 Giving Spring some REST
11.1. Getting REST
11.2. Writing resource-oriented controllers
11.3. Representing resources
11.4. Writing REST clients
11.5. Submitting RESTful forms
12. Chapter 12 Messaging in Spring
12.1. A brief introduction to JMS
12.2. Setting up a message broker in Spring
12.3. Using Spring’s JMS template
12.4. Creating message-driven POJOs
12.5. Using message-based RPC
12.6. Summary 332
13. Chapter 13 Managing Spring beans with JMX
13.1. Exporting Spring beans as MBeans
13.2. Remoting MBeans
13.3. Handling notifications
14. Chapter 14 Odds and ends
14.1. Externalizing configuration
14.2. Wiring JNDI objects
14.3. Sending email
14.4. Scheduling and background tasks
14.6. The end…?
© 2014 Manning Publications Co.
About the Technology
Spring Framework is required knowledge for Java developers, and Spring 3.0 introduces powerful new features like SpEL, the Spring Expression Language, new annotations for the IoC container, and much-needed support for REST. Whether you're just discovering Spring or you want to absorb the new 3.0 features, there's no better way to master Spring than this book.
About the book
Spring in Action, Third Edition continues the practical, hands-on style of the previous bestselling editions. Author Craig Walls has a special knack for crisp and entertaining examples that zoom in on the features and techniques you really need. This edition highlights the most important aspects of Spring 3.0 including REST, remote services, messaging, Security, MVC, Web Flow, and more.
- Using annotations to reduce configuration
- Working with RESTful resources
- Spring Expression Language (SpEL)
- Security, Web Flow, and more
placing your order...Don't refresh or navigate away from the page.
The only book I won't lend out--I use it too often!
Covers both the fundamentals and the breadth of Spring.
Great content from a great teacher.
A perfect mix of humor and technical wisdom.