Overview of Spring Persistence with Hibernate
Get to grips with Hibernate and its configuration manager, mappings, types, session APIs, queries, and much more
Integrate Hibernate and Spring as part of your enterprise Java stack development
Work with Spring IoC (Inversion of Control), Spring AOP, transaction management, web development, and unit testing considerations and features
Covers advanced and useful features of Hibernate in a practical way
Spring is the leading platform to build and run enterprise Java applications. Spring's Hibernate integration makes it easy to mix and match persistence methodologies simplifying your Hibernate applications. You can incorporate lots of Inversion of Control (IoC) convenience features to address many typical Hibernate integration issues, making this integration all the more favorable for your application.
This easy-to-use book will turn the complex-sounding integration into a straightforward walk-through. Persistence is important for creating a data access-based transactions tier, central to financial, insurance, and banking applications. You will be able to enhance your applications using the most common, advanced, and optional features of Hibernate.
This book starts with the philosophy and the brief history of persistence. It provides an introduction to how persistence frameworks and technologies came into the development scene and what problems they are aimed to solve.
The book continues with a discussion about Hibernate as the most popular persistence framework in Java. First, you will learn how to get Hibernate and add it to a project and how to configure it before it can be used. Next, you will get an in-depth knowledge about Hibernate and understand the essential concepts behind persistence with Hibernate and more. When Hibernate has been fully discussed, you will get to know Spring as another popular framework in Java, and have a look at essential features of Spring and its added value for Hibernate-based projects. Finally the book will provide a comprehensive discussion about using Hibernate with Spring and the problems that are solved with Spring.
This book is a practical guide to learn Hibernate and its features, and integrate it with Spring, discussing how this integration can improve code development, testing, and maintenance.