Cargando…

Spring persistence with Hibernate /

"Today, the Spring Framework is the leading out-of-the-box solution for enterprise Java developers; in it, you can find a number of Java Persistence solutions. This book gets you rolling with fundamental Spring Framework 3 concepts and integrating persistence functionality into enterprise Java...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Fisher, Paul Tepper
Otros Autores: Murphy, Brian D.
Formato: Electrónico eBook
Idioma:Inglés
Publicado: [New York] : Apress, 2010.
Colección:Expert's voice in open source.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)
Tabla de Contenidos:
  • Cover
  • Table of Contents
  • About the Authors
  • About the Technical Reviewer
  • Acknowledgments
  • Preface
  • Chapter 1 Architecting Your Application With Spring, Hibernate, and Patterns
  • The Benefit of a Consistent Approach
  • The Significance of Dependency Injection
  • A Synergistic Partnership
  • The Story of Springs and Hibernates Success
  • A Better Approach for Integration
  • Best Practices for Architecting An Application
  • Other Persistence Design Patterns
  • The Template Pattern
  • The Active-Record Pattern
  • Summary
  • Chapter 2 Spring Basics
  • Exploring Springs Architecture
  • The Application Context
  • Beans, Beans, the Magical Fruit
  • The Spring Life Cycle
  • Understanding Bean Scopes
  • Dependency Injection and Inversion of Control
  • Setter-Based Dependency Injection
  • Constructor-Based Dependency Injection
  • Instance Collaboration
  • Coding to Interfaces
  • Dependency Injection Via Autowiring
  • @Annotation-Based Dependency Injection
  • Set It and Forget It!
  • Injecting Code Using Aop and Interceptors
  • Summary
  • Chapter 3 Basic Application Setup
  • Application Management With Maven
  • Managed Dependencies
  • Standard Directory Structure
  • Pom Deconstruction
  • Spring Configuration
  • Namespace Support
  • Externalizing Property Configurations
  • Component Scanning
  • Import Statements
  • Database Integration
  • Jdbc Support
  • Integration With Jndi
  • Web Application Configuration
  • Servlet Definition
  • Spring Mvc
  • Summary
  • Chapter 4 Persistence With Hibernate
  • The Evolution of Database Persistence in Java
  • Ejb, Jdo, and Jpa
  • How Hibernate Fits In
  • Jpa Interface Hierarchy
  • The Art Gallery Domain Model and Dao Structure
  • An @Entity-Annotated Pojo
  • Simplified Dao Pattern With Generics
  • The Life Cycle of a Jpa Entity
  • Jpa Configuration
  • Bare-Bones Jpa Setup
  • Spring Integration
  • Summary
  • Chapter 5 Domain Model Fundamentals
  • Understanding Associations
  • Building the Domain Model
  • Convention Over Configuration
  • Managing Entity Identifiers
  • Using Cascading Options to Establish Data Relationships
  • Adding Second-Level Caching
  • Using Polymorphism With Hibernate
  • Summary
  • Chapter 6 Daos and Querying
  • A Basic Hibernate Dao Implementation
  • Building a Dao
  • Using Springs Hibernate Support Classes
  • Enabling Query Caching With the Hibernatetemplate
  • Going Template-Less
  • Querying in Hibernate
  • Loading An Entity
  • Querying for a Particular Type
  • Using Named Parameters
  • Querying Using Core Hibernate
  • Using Named Queries
  • Working With Polymorphic Queries
  • Persisting Data With Hibernate
  • Saving and Updating Data
  • Handling Binary Data
  • Understanding the Benefits of the Criteria Api
  • Using the Jpa 2.0 Criteria Api
  • Summary
  • Chapter 7 Transaction Management
  • The Joy of Acid
  • Understanding Isolation L.