Sách PDF: Hibernate In Action

Hibernate In Action
Adobe PDF
431

Giới thiệu tóm tắt

Tác giả: Christian Bauer, Gavin King - Nhà xuất bản: Manning Hibernate practically exploded on the Java scene. Why is this open-source tool so popular? Because it automates a tedious task: persisting your Java objects to a relational database. The inevitable mismatch between your object-oriented code and the relational database requires you to write code that maps one to the other. This code is often complex, tedious and costly to develop. Hibernate does the mapping for you Hibernate in Action carefully explains the concepts you need, then gets you going. It builds on a single example to show you how to use Hibernate in practice, how to deal with concurrency and transactions, how to efficiently retrieve objects and use caching. The authors created Hibernate and they field questions from the Hibernate community every day they know how to make Hibernate sing. Knowledge and insight seep out of every pore of this book. 1. Understanding object/relational persistence 1.1 What is persistence? Relational databases Understanding SQL Using SQL in Java Persistence in object-oriented applications 1.2 The paradigm mismatch The problem of granularity - The problem of subtypes The problem of identity - Problems relating to associations The problem of object graph navigation - The cost of the mismatch 1.3 Persistence layers and alternatives Layered architecture - Hand-coding a persistence layer with SQL/JDBC - Using serialization - Considering EJB entity beans - Object-oriented database systems Other options 1.4 Object/relational mapping What is ORM? - Generic ORM problems Why ORM? 1.5Summary 2 Introducing and integrating Hibernate 2.1"Hello World" with Hibernate 2.2Understanding the architecture The core interfaces - Callback interfaces Types - Extension interfaces 2.3Basic configuration Creating a SessionFactory - Configuration in non-managed environments - Configuration in managed environments 2.4Advanced configuration setting 51Using XML-based configuration SessionFactory - Logging Extensions (JMX)

Nguồn: docs.4share.vn/docs/4364/Hibernate_In_Action.html


Chưa có phản hồi
Bạn vui lòng Đăng nhập để bình luận