Pro JPA 2

Pro JPA 2, Second Edition introduces, explains, and demonstrates how to use the new Java Persistence API (JPA) 2.1 from the perspective of one of the specification creators. A one-of-a-kind resource, it provides both theoretical and extremely practical coverage of JPA usage for both beginning and ad...

Descripción completa

Detalles Bibliográficos
Autor principal: Keith, Mike. author (author)
Otros Autores: Schincariol, Merrick, author (author)
Formato: Libro electrónico
Idioma:Inglés
Publicado: New York : Apress 2013.
Edición:2nd ed. 2013.
Colección:Expert's voice in Java.
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009629648406719
Tabla de Contenidos:
  • ""Contents at a Glance""; ""Contents""; ""About the Authors""; ""About the Technical Reviewer""; ""Acknowledgments""; ""Chapter 1: Introduction""; ""Relational Databases""; ""Object-Relational Mapping""; ""The Impedance Mismatch""; ""Class Representation""; ""Relationships""; ""Inheritance""; ""Java Support for Persistence""; ""Proprietary Solutions""; ""Data Mappers""; ""JDBC""; ""Enterprise JavaBeans""; ""Java Data Objects""; ""Why Another Standard?""; ""The Java Persistence API""; ""History of the Specification""; ""EJB 3.0 and JPA 1.0""; ""JPA 2.0""; ""JPA 2.1""; ""JPA and You""
  • ""Overview""""POJO Persistence""; ""Non-intrusiveness""; ""Object Queries""; ""Mobile Entities""; ""Simple Configuration""; ""Integration and Testability""; ""Summary""; ""Chapter 2: Getting Started""; ""Entity Overview""; ""Persistability""; ""Identity""; ""Transactionality""; ""Granularity""; ""Entity Metadata""; ""Annotations""; ""XML""; ""Configuration by Exception""; ""Creating an Entity""; ""Entity Manager""; ""Obtaining an Entity Manager""; ""Persisting an Entity""; ""Finding an Entity""; ""Removing an Entity""; ""Updating an Entity""; ""Transactions""; ""Queries""
  • ""Putting It All Together""""Packaging It Up""; ""Persistence Unit""; ""Persistence Archive""; ""Summary""; ""Chapter 3: Enterprise Applications""; ""Application Component Models""; ""Session Beans""; ""Stateless Session Beans""; ""Defining a Stateless Session Bean""; ""Lifecycle Callbacks""; ""Stateful Session Beans""; ""Defining a Stateful Session Bean""; ""Lifecycle Callbacks""; ""Singleton Session Beans""; ""Defining a Singleton Session Bean""; ""Lifecycle Callbacks""; ""Servlets""; ""Dependency Management and CDI""; ""Dependency Lookup""; ""Dependency Injection""; ""Field Injection""
  • ""Setter Injection""""Declaring Dependencies""; ""Referencing a Persistence Context""; ""Referencing a Persistence Unit""; ""Referencing Server Resources""; ""CDI and Contextual Injection""; ""CDI Beans""; ""Injection and Resolution""; ""Scopes and Contexts""; ""Qualified Injection""; ""Producer Methods and Fields""; ""Using Producer Methods with JPA Resources""; ""Transaction Management""; ""Transaction Review""; ""Enterprise Transactions in Java""; ""Transaction Demarcation""; ""Container-managed Transactions""; ""EJB Container-managed Transactions""; ""Transactional Interceptors""
  • ""Bean-managed Transactions""""UserTransaction""; ""Putting It All Together""; ""Defining the Component""; ""Defining the User Interface""; ""Packaging It Up""; ""Summary""; ""Chapter 4: Object-Relational Mapping""; ""Persistence Annotations""; ""Accessing Entity State""; ""Field Access""; ""Property Access""; ""Mixed Access""; ""Mapping to a Table""; ""Mapping Simple Types""; ""Column Mappings""; ""Lazy Fetching""; ""Large Objects""; ""Enumerated Types""; ""Temporal Types""; ""Transient State""; ""Mapping the Primary Key""; ""Overriding the Primary Key Column""; ""Primary Key Types""
  • ""Identifier Generation""