Abstract
Frameworks like Spring and Hibernate provided a means to solve some complex enterprise challenges. The critical difference between EJB 2.0 and frameworks like Spring and Hibernate is that this complexity is an option that you can elect to utilize, rather than an integral component of the framework architecture that you are forced to embrace.
In this chapter, you took a stroll down memory lane to see how persistence has evolved in the Java ecosystem, and now have a firmer understanding of the terminology as well as the distinctions between specifications and implementations. You’ve learned that you can have an application that uses many permutations of specifications and implementations. For instance, you can build a single application that uses EJB 3.0 for a distributed component-based architecture, with JPA for persistence powered by Hibernate as the JPA implementation. You also got a feel for the domain model and DAO structure that underpins our art gallery example application. Finally, you learned quite a lot about setting up a JPA application in a Spring environment. You are now armed with enough information to get a JPA application working.
In the next chapter, we’ll continue building the domain model for our art gallery application.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Editor information
Rights and permissions
Copyright information
© 2010 Paul Tepper Fisher and Brian D. Murphy
About this chapter
Cite this chapter
Fisher, P.T., Murphy, B.D. (2010). Persistence with Hibernate. In: Anglin, S., et al. Spring Persistence with Hibernate. Apress. https://doi.org/10.1007/978-1-4302-2633-8_4
Download citation
DOI: https://doi.org/10.1007/978-1-4302-2633-8_4
Publisher Name: Apress
Print ISBN: 978-1-4302-2632-1
Online ISBN: 978-1-4302-2633-8
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)