Chapter 9. Integrating with Spring and Hibernate/JPA
This chapter covers
- Managing objects with Spring
- Knowing when to use dependency injection
- Adding Spring to Struts 2
- Integrating Struts 2 and the Java Persistence API
Now that we’ve finished the core chapters, we know how to build a basic Struts 2 application. We’ve even done so with our Struts 2 Portfolio. This chapter starts the part of the book dealing with how to finish the application with a variety of refinements that many developers consider best practices. The refinements that we introduce in this chapter are specifically related to integrating a Struts 2 application with a pair of popular third-party technologies, Spring and the Java Persistence API (JPA).
First, we learn how to ...
Get Struts 2 in Action now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.