LEADER 05706oam 2200553 450 001 9910437972103321 005 20190911103509.0 010 $a1-4302-4927-7 024 7 $a10.1007/978-1-4302-4927-6 035 $a(OCoLC)877817346 035 $a(MiFhGG)GVRL6VGF 035 $a(EXLCZ)993710000000024259 100 $a20140514d2013 uy 0 101 0 $aeng 135 $aurun|---uuuua 181 $ctxt 182 $cc 183 $acr 200 10$aPro JPA 2 /$fMike Keith, Merrick Schincariol 205 $a2nd ed. 2013. 210 1$aNew York :$cApress,$d2013. 215 $a1 online resource (xxiii, 484 pages) $cillustrations 225 1 $aThe expert's voice in Java 300 $a"Covers JPA 2.1"--Cover. 300 $a"A definitive guide to mastering the Java persistence API"--Cover. 300 $aIncludes index. 311 $a1-4302-4926-9 327 $a""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"" 327 $a""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"" 327 $a""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"" 327 $a""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"" 327 $a""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"" 327 $a""Identifier Generation"" 330 $aPro 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 advanced developers. Authors Mike Keith and Merrick Schincariol take a hands?on approach, based on their wealth of experience and expertise, by giving examples to illustrate each concept of the API and showing how it is used in practice. The examples use a common model from an overriding sample application, giving readers a context from which to start and helping them to understand the examples within an already familiar domain. After completing the book, you will have a full understanding of JPA and be able to successfully code applications using its annotations and APIs. The book also serves as an excellent reference guide during initial and later JPA application experiences. Hands-on examples for all aspects of the JPA specification Expert insight about various aspects of the API and when they are useful  Portability hints to provide increased awareness of the potential for non?portable JPA code. 410 0$aExpert's voice in Java. 606 $aObject-oriented databases 606 $aJava (Computer program language) 615 0$aObject-oriented databases. 615 0$aJava (Computer program language) 676 $a004 676 $a005.133 700 $aKeith$b Mike$4aut$4http://id.loc.gov/vocabulary/relators/aut$0972273 702 $aSchincariol$b Merrick 801 0$bMiFhGG 801 1$bMiFhGG 906 $aBOOK 912 $a9910437972103321 996 $aPro JPA 2$92210756 997 $aUNINA