Java Persistence with Hibernate

(häftad)

av Christian Bauer, Gavin King

Bloggar      
Format:
Häftad (paperback)
Utgiven:
2006-12-01
Språk:
Engelska
Persistence-the ability of data to outlive an instance of a program-is central to modern applications. Hibernate, the most popular Java persistence tool, provides automatic and transparent object/relational mapping making it a snap to work with SQL databases in Java applications. Hibernate applications are cheaper, more portable, and more resilient to change. Because it conforms to the new EJB 3.0 and Java Persistence 1.0 standard, Hibernate allows the developer to seamlessly create efficient, scalable Java EE applications. "Java Persistence with Hibernate" explores Hibernate by developing an application that ties together hundreds of individual examples. You'll immediately dig into the rich programming model of Hibernate 3.2 and Java Persistence, working through queries, fetching strategies, caching, transactions, conversations, and more. You'll also appreciate the well-illustrated discussion of best practices in database design, object/relational mapping, and optimization techniques. In this revised edition of the bestselling "Hibernate in Action," authors Christian Bauer and Gavin King-the founder of the Hibernate project-cover Hibernate 3.2 in detail along with the EJB 3.0 and Java Persistence standard.

Passar bra ihop

Java Persistence with Hibernate + RESTful Java with JAX-RS
De som köpt den här boken har ofta också köpt RESTful Java with JAX-RS (häftad) av Bill Burke
Pris för båda:
557:-Köp

Fler böcker av författarna

Visa alla böcker av Christian Bauer, Gavin King
NHibernate in Action (häftad)
Play 1...b6! (häftad)
The Philidor Files (häftad)
Play the Scandinavian (häftad)

NHibernate in Action

Pierre Henri Kuate, Tobin Harris, Christian Bauer, Gavin King (häftad)

Play 1...b6!

Christian Bauer (häftad)

The Philidor Files

Christian Bauer (häftad)

Play the Scandinavian

Christian Bauer (häftad)
290:- Köp
187:- Köp
200:- Köp
206:- Köp

Kundrecensioner

Bli först med att recensera och betygsätt boken Java Persistence with Hibernate - du kan vinna 200 kr varje månad i tävlingen "Månadens recension".

Bloggat om Java Persistence with Hibernate

Övrig information

Christian Bauer is a member of the Hibernate developer team. He works as a trainer, consultant, and product manager for Hibernate, EJB 3.0, and JBoss Team at JBoss, a division of Red Hat. He is the co-author with Gavin King of Manning's best-selling Hibernate in Action. Gavin King is the founder of the Hibernate project, and a member of the EJB 3.0 (JSR 220) expert group. He also leads the Web Beans JSR 299, a standardization effort involving Hibernate concepts, JSF, and EJB 3.0. Gavin King works as a lead developer at JBoss, a division of Red Hat.

Innehållsförteckning



contents

foreword to t he revised edition xix

foreword to the first edition xxi

preface to the revised edition xxiii

preface to the first edition xxv

acknowledgments xxviii

about this book xxix

about the cover illustration xxxiii

Part 1 Getting started with Hibernate and EJB 3.0 1



Chapter 1 Understanding object/relational persistence 3

What is persistence? 5

The paradigm mismatch 10

Persistence layers and alternatives 20

Object/relational mapping 24

Summary 35

Chapter 2 Starting a project 37

Starting a Hibernate project 38

Starting a Java Persistence project 68

Reverse engineering a legacy database 88

Integration with Java EE services 96

Summary 104

Chapter 3 Domain models and metadata 105

The CaveatEmptor application 106

Implementing the domain model 110

Object/relational mapping metadata 123

Alternative entity representation 140

Summary 152



Part 2 Mapping concepts and strategies 155



Chapter 4 Mapping persistent classes 157

Understanding entities and value types 158

Mapping entities with identity 161

Class mapping options 171

Fine-grained models and mappings 177

Summary 189

Chapter 5 Inheritance and custom types 191

Mapping class inheritance 192

The Hibernate type system 212

Creating custom mapping types 220

Summary 239

Chapter 6 Mapping collections and entity associations 240

Sets, bags, lists, and maps of value types 241

Collections of components 251

Mapping collections with annotations 256

Mapping a parent/children relationship 260

Summary 275

Chapter 7 Advanced entity association mappings 277

Single-valued entity associations 278

Many-valued entity associations 290

Polymorphic associations 313

Summary 321

Chapter 8 Legacy databases and custom SQL 322

Integrating legacy databases 323

Customizing SQL 350

Improving schema DDL 364

Summary 378



Part 3 Conversational object processing 381



Chapter 9 Working with objects 383

The persistence lifecycle 384

Object identity and equality 391

The Hibernate interfaces 401

The Java Persistence API 417

Using Java Persistence in EJB components 426

Summary 431

Chapter 10 Transactions and concurrency 433

Transaction essentials 434

Controlling concurrent access 453

Nontransactional data access 469

Summary 474

Chapter 11 Implementing conversations 476

Propagating the Hibernate Session 477

Conversations with Hibernate 485

Conversations with JPA 497

Conversations with EJB 3.0 50...

De som köpt "Java Persistence with Hibernate" har även köpt:

RESTful Java with JAX-RS (häftad)

RESTful Java with JAX-RS

Bill Burke (häftad)
236:-
Java Web Services: Up And Running (häftad)

Java Web Services: Up And Running

Martin Kalin (häftad)
185:-
Hibernate Recipes: A Problem-Solution Approach (häftad)

Hibernate Recipes: A Problem-Solution Approach

Gary Mak, Srinivas Guruzu (häftad)
321:-
ActiveMQ in Action (häftad)

ActiveMQ in Action

Bruce Snyder (häftad)
263:-
Pragmatic Guide to Git (häftad)

Pragmatic Guide to Git

Travis Swicegood (häftad)
143:-
Java Persistence with Hibernate (häftad)
  • Titel: Java Persistence with Hibernate
  • ISBN: 9781932394887
  • Förlag: MANNING PUBLICATIONS
  • Utgivningsland: USA
  • Utgivningsort: Greenwich, Conn.
  • Illustratör/Fotograf: illustrations
  • Illustrationer: illustrations
  • Upplaga: Revised.
  • Antal sidor: 880
  • Vikt: 1400 g
  • Höjd: 235 mm
  • Antal komponenter: 1
  • Format: Häftad (paperback)