Video description
"The classic, remastered and full of awesomeness."
Mario Arias, Cake Solutions Ltd
Spring in Action, Fourth Edition is a hands-on guide to the Spring Framework, updated for version 4. It covers its latest features, tools, and practices including Spring MVC, REST, Security, Web Flow, and more. You'll move between short snippets and an ongoing example as you learn to build simple and efficient J2EE applications. Author Craig Walls has a special knack for crisp and entertaining examples that zoom in on the features and techniques you really need.
Designed in 2003 as a lighter approach to J2EE development, Spring Framework has since become a standard choice for building enterprise applications and required knowledge for Java developers. Spring 4 provides full Java 8 integration along with key upgrades like new annotations for the IoC container, improvements to Spring Expression Language, and much-needed support for REST. Whether you're just discovering Spring or you want to absorb the new features, there's no better way to master Spring than with this book.
Inside:
- Updated for Spring 4
- Spring Data for NoSQL
- Simplifying configuration with annotations and definition profiles
- Working with RESTful resources
Nearly 100,000 developers have used the book version to learn Spring! Spring in Action requires a working knowledge of Java.
Craig Walls is a software developer at Pivotal. He's a popular author and a frequent speaker at user groups and conferences. Craig lives in Cross Roads, Texas.
Informative, accurate and insightful!
Jeelani Shaik, D3Banking.com
After ten years, this is still the clearest and most comprehensive introduction to the core concepts of the Spring platform.
James Wright, Sword-Apak
NARRATED BY MARK THOMAS
Table of Contents
PART 1 CORE SPRING
Chapter 1. Springing into action
Chapter 1. Injecting dependencies
Chapter 1. Applying aspects
Chapter 1. Eliminating boilerplate code with templates
Chapter 1. Containing your beans
Chapter 1. Surveying the Spring landscape
Chapter 1. The Spring portfolio
Chapter 1. What’s new in Spring
Chapter 1. What’s new in Spring 4.0?
Chapter 2. Wiring beans
Chapter 2. Automatically wiring beans
Chapter 2. Naming a component-scanned bean
Chapter 2. Wiring beans with Java
Chapter 2. Wiring beans with XML
Chapter 2. Initializing a bean with constructor injection
Chapter 2. Setting properties
Chapter 2. Importing and mixing configurations
Chapter 3. Advanced wiring
Chapter 3. Activating profiles
Chapter 3. Conditional beans
Chapter 3. Addressing ambiguity in autowiring
Chapter 3. Qualifying autowired beans
Chapter 3. Scoping beans
Chapter 3. Runtime value injection
Chapter 3. Wiring with the Spring Expression Language
Chapter 3. SPeL operators
Chapter 4. Aspect-oriented Spring
Chapter 4. Defining AOP terminology
Chapter 4. Spring’s AOP support
Chapter 4. Selecting join points with pointcuts
Chapter 4. Creating annotated aspects
Chapter 4. Handling parameters in advice
Chapter 4. Declaring aspects in XML
Chapter 4. Introducing new functionality with aspects
PART 2 SPRING ON THE WEB
Chapter 5. Building Spring web applications
Chapter 5. Setting up Spring MVC
Chapter 5. Enabling Spring MVC
Chapter 5. Writing a simple controller
Chapter 5. Passing model data to the view
Chapter 5. Accepting request input
Chapter 5. Processing forms
Chapter 5. Validating forms
Chapter 6. Rendering web views
Chapter 6. Creating JSP views
Chapter 6. Using Spring’s JSP libraries
Chapter 6. Displaying errors
Chapter 6. Spring’s general tag library
Chapter 6. Creating URLs
Chapter 6. Defining a layout with Apache Tiles views
Chapter 6. Working with Thymeleaf
Chapter 6. Defining Thymeleaf templates
Chapter 7. Advanced Spring MVC
Chapter 7. Adding additional servlets and filters
Chapter 7. Processing multipart form data
Chapter 7. Handling multipart requests
Chapter 7. Handling exceptions
Chapter 7. Advising controllers
Chapter 7. Working with flash attributes
Chapter 8. Working with Spring Web Flow
Chapter 8. The components of a flow
Chapter 8. Transitions
Chapter 8. Putting it all together: the pizza flow
Chapter 8. Collecting customer information
Chapter 8. Building an order
Chapter 9. Securing web applications
Chapter 9. Writing a simple security configuration
Chapter 9. Selecting user details services
Chapter 9. Applying LDAP-backed authentication
Chapter 9. Intercepting requests
Chapter 9. Enforcing channel security
Chapter 9. Authenticating users
Chapter 9. Securing the view
Chapter 9. Working with Thymeleaf’s Spring Security dialect
PART 3 SPRING IN THE BACK END
Chapter 10. Hitting the database with Spring and JDBC
Chapter 10. Getting to know Spring’s data-access exception hierarchy
Chapter 10. Templating data access
Chapter 10. Configuring a data source
Chapter 10. Using an embedded data source
Chapter 10. Using JDBC with Spring
Chapter 10. Working with JDBC templates
Chapter 11. Persisting data with object-relational mapping
Chapter 11. Declaring a Hibernate session factory
Chapter 11. Spring and the Java Persistence API
Chapter 11. Configuring an entity manager factory
Chapter 11. Writing a JPA-based repository
Chapter 11. Automatic JPA repositories with Spring Data
Chapter 11. Defining query methods
Chapter 11. Declaring custom queries
Chapter 12. Working with NoSQL databases
Chapter 12. Enabling MongoDB
Chapter 12. Accessing MongoDB with MongoTemplate
Chapter 12. Writing a MongoDB repository
Chapter 12. Working with graph data in Neo4j
Chapter 12. Annotating graph entities
Chapter 12. Creating automatic Neo4j repositories
Chapter 12. Working with key-value data in Redis
Chapter 12. Setting key and value serializers
Chapter 13. Caching data
Chapter 13. Configuring a cache manager
Chapter 13. Annotating methods for caching
Chapter 13. Removing cache entries
Chapter 14. Securing methods
Chapter 14. Using expressions for method-level security
Chapter 14. Filtering method inputs and outputs
PART 4 INTEGRATING SPRING
Chapter 15. Working with remote services
Chapter 15. Working with RMI
Chapter 15. Wiring an RMI service
Chapter 15. Exposing remote services with Hessian and Burlap
Chapter 15. Using Spring’s HttpInvoker
Chapter 15. Publishing and consuming web services
Chapter 15. Proxying JAX-WS services on the client side
Chapter 16. Creating REST APIs with Spring MVC
Chapter 16. Creating your first REST endpoint
Chapter 16. Negotiating resource representation
Chapter 16. ContentNegotiationManager added in Spring 3.2
Chapter 16. Working with HTTP message converters
Chapter 16. Serving more than resources
Chapter 16. Setting headers in the response
Chapter 16. Consuming REST resources
Chapter 16. Extracting response metadata
Chapter 16. Receiving object responses from POST requests
Chapter 16. Exchanging resources
Chapter 17. Messaging in Spring
Chapter 17. Assessing the benefits of asynchronous messaging
Chapter 17. Sending messages with JMS
Chapter 17. Using Spring’s JMS template
Chapter 17: Setting a default destination
Chapter 17. Creating message-driven POJOs
Chapter 17. Using message-based RPC
Chapter 17. Messaging with AMQP
Chapter 17. Configuring Spring for AMQP messaging
Chapter 17. Receiving AMQP messages
Chapter 18. Messaging with WebSocket and STOMP
Chapter 18. Coping with a lack of WebSocket support
Chapter 18. Working with STOMP messaging
Chapter 18. Handling STOMP messages from the client
Chapter 18. Sending messages to the client
Chapter 18. Working with user-targeted messages
Chapter 18. Sending messages to a specific user
Chapter 19. Sending email with Spring
Chapter 19. Constructing rich email messages
Chapter 19. Generating email with templates
Chapter 20. Managing Spring beans with JMX
Chapter 20. Exposing methods by name
Chapter 20. Working with annotation-driven MBeans
Chapter 20. Remoting MBeans
Chapter 20. Handling notifications
Chapter 21. Simplifying Spring development with Spring Boot
Chapter 21. Autoconfiguration
Chapter 21. Building an application with Spring Boot
Chapter 21. Adding static artifacts
Chapter 21. Try it out
Chapter 21. Going Groovy with the Spring Boot CLI
Chapter 21. Running the Spring Boot CLI
Chapter 21. Gaining application insight with the Actuator