Pro JPA 2 in Java EE 8: An In-Depth Guide to Java Persistence APIs, Third Edition

  • 11h 42m
  • Massimo Nardone, Merrick Schincariol, Mike Keith
  • Apress
  • 2018

Learn to use the Java Persistence API (JPA) and other related APIs as found in the Java EE 8 platform from the perspective of one of the specification creators. A one-of-a-kind resource, this in-depth book provides both theoretical and practical coverage of JPA usage for experienced Java developers.

Authors Mike Keith, Merrick Schincariol and Massimo Nardone 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 overarching sample application, giving you a context from which to start and helping you to understand the examples within an already familiar domain.

After completing Pro JPA 2 in Java EE 8, 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.

You will:

  • Use the JPA in the context of enterprise applications
  • Work with object relational mappings (ORMs), collection mappings and more
  • Build complex enterprise Java applications that persist data long after the process terminates
  • Connect to and persist data with a variety of databases, file formats, and more
  • Use queries, including the Java Persistence Query Language (JPQL)
  • Carry out advanced ORM, queries and XML mappings
  • Package, deploy and test your Java persistence-enabled enterprise applications

About the Author

Mike Keith is a co-specification lead for JPA 1.0 and a member of the JPA 2.0 and JPA 2.1 expert groups. He sits on a number of other Java Community Process expert groups and the Enterprise Expert Group (EEG) in the OSGi Alliance. He holds a Masters degree in Computer Science from Carleton University, and has over 20years experience in persistence and distributed systems research and practice.He has written papers and articles on JPA and spoken at numerous conferences around the world. He is employed as an architect at Oracle in Ottawa, Canada,and is married with four kids and two dogs.

Merrick Schincariol is a senior engineer for the Oracle OC4J Java EE Container. He was a lead engineer for Oracle's EJB 3.0 release and co-author of Pro EJB 3: Java Persistence API. Before joining Oracle, Merrick developed enterprise and large-scale systems for the telecommunications industry.

Massimo Nardone has more than 23 years of experiences in Security, Web/Mobile development, Cloud and IT Architecture and has been programming and teaching how to program with Android, Perl, PHP, Java, VB, Python, C/C++ and MySQL for more than 20 years. He currently works as Chief Information Security Office (CISO) for Cargotec Oyj and he is member of the ISACA Finland Chapter Board. Massimo has provided technical review for more than 40 IT books, and is the coauthor of Pro Android Games (Apress, 2015).

In this Book

  • Introduction
  • Getting Started
  • Enterprise Applications
  • Object-Relational Mapping
  • Collection Mapping
  • Entity Manager
  • Using Queries
  • Query Language
  • Criteria API
  • Advanced Object-Relational Mapping
  • Advanced Queries
  • Other Advanced Topics
  • XML Mapping Files
  • Packaging and Deployment
  • Testing