Learn how to use the core Hibernate APIs and tools as part of the Spring Framework. This book illustrates how these two frameworks can be best utilized. Other persistence solutions available in Spring are also shown including the Java Persistence API (JPA).
Spring Persistence with Hibernate, Second Edition has been updated to cover Spring Framework version 4 and Hibernate version 5. After reading and using this book, you’ll have the fundamentals to apply these persistence solutions into your own mission-critical enterprise Java applications that you build using Spring.
Persistence is an important set of techniques and technologies for accessing and using data, and ensuring that data is mobile regardless of specific applications and contexts. In Java development, persistence is a key factor in enterprise, e-commerce, and other transaction-oriented applications. Today, the agile and open source Spring Framework is the leading out-of-the-box, open source solution for enterprise Java developers; in it, you can find a number of Java persistence solutions.
What you’ll learn
- How to use Spring Persistence, including using persistence tools in Spring as well as choosing the best Java persistence frameworks outside of Spring
- How to work with Spring Framework features such as Inversion of Control (IoC), aspect-oriented programming (AOP), and more
- How to work with Spring JDBC, use declarative transactions with Spring, and reap the benefits of a lightweight persistence strategy
- How to work with Hibernate and integrate it into your Spring-based enterprise Java applications for transactions, data processing, and more
- How to integrate JPA for creating a well-layered persistence tier in your enterprise Java application