Covers EJB 3.1 using GlassFish v3 Prelude Designed for beginners and intermediate developers, this book teaches JPA from the ground up with an aim to get the reader up to speed with JPA as quickly as possible. It delves deeply into the core of the JPA, providing a sound understanding of the components that make up the framework and the way they interact with each other. This book uses the learning by doing pattern with a lot of ready-to-use examples. This pattern has proven to be the best approach for learning a new technology. Most [if not all] of the concepts that you will find in this book are demonstrated using well described and easy to understand examples, yet sophisticated enough to demonstrate JPA in a real-world context. This book demonstrates a step-by-step guide to developing Web as well as Enterprise applications [using EJB 3] which re-enforces all the learning that takes place throughout the book. It also teaches how to integrate an enterprise application with Struts2. Not only this, the book also introduces EJB 3.1 [a part of Java EE 6] and demonstrates developing a IPA based EIB 3.1 application with the help of Glassfish v3 Prelude. Topics Covered In The Book Introduction Persistence, Object/Relational Mapping And JPA, Introduction To Java Persistence API, Writing The First Application Core Components Of JPA Entity, Entity Manager And Its Factory, Transactions, Persistence Unit Metadata Getting Started With Metadata, Database Identity, Associations, Collections, Inheritance, Defining Metadata Using XML The JPA Query Language The Basics Of Java Persistence Query Language, Joins, Query Interface, Pagination, Named Queries, Native SQL Queries Web Application Development Customer Database Web Application, Subscriber Management Web Application Enterprise Application Development Introduction To EJB 3.0, Customer Database Enterprise Application, Integrating Customer Database Enterprise Application With Struts2 Enterprise Application Development Using EJB 3.1 Introduction To EJB 3.1, Customer Database Enterprise Application Appendix Installing The NetBeans IDE, Customer Database Application Using Different ORMs CD-Rom Contents Setup files for JDK 6, NetBeans IDE 6.5, Hibernate Core 3.x, Hibernate Annotations 3.x, Hibernate EntityManager 3.x, Struts 2.x, MySQL Community Server 6.x, JDBC Drivers, Library files for Display Tags, EclipseLink, TopLink and OpenJPA. Source code for the examples covered in this book.