Book description
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
In Detail
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.
Table of contents
-
Spring Persistence with Hibernate
- Spring Persistence with Hibernate
- Credits
- About the Author
- About the Reviewer
- Preface
- 1. An Introduction to Hibernate and Spring
- 2. Preparing an Application to Use Spring with Hibernate
- 3. A Quick Tour of Hibernate and Spring
- 4. Hibernate Configuration
- 5. Hibernate Mappings
- 6. More on Mappings
- 7. Hibernate Types
- 8. Hibernate Persistence Behavior
- 9. Querying In Hibernate
-
10. Inversion of Control with Spring
- Inversion of Control and dependency injection
- Inversion of Control in Spring
- Applying IoC to Hibernate resources
- PropertyEditors
- Summary
- 11. Spring AOP
- 12. Transaction Management
- 13. Integrating Hibernate with Spring
- 14. Web Development with Hibernate and Spring
- 15. Testing
- A. Some of Hibernate's Advanced Features
Product information
- Title: Spring Persistence with Hibernate
- Author(s):
- Release date: November 2009
- Publisher(s): Packt Publishing
- ISBN: 9781849510561
You might also like
book
Spring 5.0 Projects
Discover the latest features of Spring framework by building robust, fast, and reactive web applications Key …
book
Fundamentals of Software Architecture
Salary surveys worldwide regularly place software architect in the top 10 best jobs, yet no real …
book
Java Hibernate Cookbook
Over 50 recipes to help you build dynamic and powerful real-time Java Hibernate applications About This …
book
Hands-On Microservices with Spring Boot and Spring Cloud
Apply microservices patterns to build resilient and scalable distributed systems Key Features Understand the challenges of …