Skip to Main Content
Struts 2 in Action
book

Struts 2 in Action

by J. Scott Stanlick, Chad Michael Davis, Donald J. Brown
May 2008
Intermediate to advanced content levelIntermediate to advanced
424 pages
15h 59m
English
Manning Publications
Content preview from Struts 2 in Action

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 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

iBATIS in Action

iBATIS in Action

Brandon R. Goodin, Clinton Begin, Larry Meadors
PrimeFaces Cookbook

PrimeFaces Cookbook

Mert Caliskan, Oleg Varaksin

Publisher Resources

ISBN: 9781933988078Publisher SupportOtherPublisher WebsitePurchase Link