Marktplatzangebote
3 Angebote ab € 8,68 €
  • Broschiertes Buch

Java Persistence with Hibernate
is the new bible of Hibernate. As a major revision
of the popular Hibernate in Action , it builds on the same single example application
to introduce and explain the latest Hibernate 3.2 in detail. In addition,
the new and significantly improved EJB 3.0 Java Persistence standard, and how
Hibernate implements it, is covered completely.
All possible basic and advanced Hibernate mappings are shown in this book,
with hundreds of examples in Hibernate’s XML format, including Java
Persistence annotations for JDK 5.0. Readers can get started
…mehr

Produktbeschreibung
Java Persistence with Hibernate

is the new bible of Hibernate. As a major revision

of the popular Hibernate in Action, it builds on the same single example application

to introduce and explain the latest Hibernate 3.2 in detail. In addition,

the new and significantly improved EJB 3.0 Java Persistence standard, and how

Hibernate implements it, is covered completely.

All possible basic and advanced Hibernate mappings are shown in this book,

with hundreds of examples in Hibernate’s XML format, including Java

Persistence annotations for JDK 5.0. Readers can get started with Hibernate and

Java Persistence at the same time. All examples—APIs, queries, fetching

strategies, caching, transactions, conversations, and many more—are presented

in all variations, so they can compare and evaluate the new Java Persistence

specification easily. If you are an experienced Hibernate user, this book provides

the insight you need to benefit immediately from the new standard, its rich

programming model, and the latest version of Hibernate.

Product Description
Java Persistence with Hibernate

is the new bible of Hibernate. As a major revision

of the popular Hibernate in Action, it builds on the same single example application

to introduce and explain the latest Hibernate 3.2 in detail. In addition,

the new and significantly improved EJB 3.0 Java Persistence standard, and how

Hibernate implements it, is covered completely.

All possible basic and advanced Hibernate mappings are shown in this book,

with hundreds of examples in Hibernate’s XML format, including Java

Persistence annotations for JDK 5.0. Readers can get started with Hibernate and

Java Persistence at the same time. All examples—APIs, queries, fetching

strategies, caching, transactions, conversations, and many more—are presented

in all variations, so they can compare and evaluate the new Java Persistence

specification easily. If you are an experienced Hibernate user, this book provides

the insight you need to benefit immediately from the new standard, its rich

programming model, and the latest version of Hibernate.
This book is divided into three major parts.
In part 1, we introduce the object/relational paradigm mismatch and explain the fundamentals behind object/relational mapping. We walk through a hands-on tutorial to get you started with your first Hibernate, Java Persistence, or EJB 3.0 project. We look at Java application design for domain models and at the options for creating object/relational mapping metadata.
Mapping Java classes and properties to SQL tables and columns is the focus of part 2. We explore all basic and advanced mapping options in Hibernate and Java Persistence, with XML mapping files and Java annotations. We show you how to deal with inheritance, collections, and complex class associations. Finally, we discuss integration with legacy database schemas and some mapping strategies that are especially tricky.
Part 3 is all about the processing of objects and how you can load and store data with Hibernate and Java Persistence. We introduce the programming interfaces, how to write transactional and conversation-aware applications, and how to write queries. Later, we focus on the correct design and implementation of layered Java applications. We discuss the most common design patterns that are used with Hibernate, such as the Data Access Object (DAO) and EJB Command patterns. You'll see how you can test your Hibernate application easily and what other best practices are relevant if you work an object/relational mapping software.
Finally, we introduce the JBoss Seam framework, which takes many Hibernate concepts to the next level and enables you to create conversational web applications with ease. We promise you'll find this chapter interesting, even if you don't plan to use Seam.
Who should read this book?
Readers of this book should have basic knowledge of object-oriented software development and should have used this knowledge in practice. To understand the application examples, you should be familiar with the Java programming language and the Unified Modeling Language.
Our primary target audience consists of Java developers who work with SQL-based database systems. We'll show you how to substantially increase your productivity by leveraging ORM.
If you're a database developer, the book can be part of your introduction to object-oriented software development.
If you're a database administrator, you'll be interested in how ORM affects performance and how you can tune the performance of the SQL database-management system and persistence layer to achieve performance targets. Because data access is the bottleneck in most Java applications, this book pays close attention to performance issues. Many DBAs are understandably nervous about entrusting performance to tool-generated SQL code; we seek to allay those fears and also to highlight cases where applications shouldn't use tool-managed data access. You may be relieved to discover that we don't claim that ORM is the best solution to every problem.