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.
What You’ll Learn?
Building Web Applications
Using JSP/Servlets, DAO, JPA using Hibernate 3, Ajax, Glassfish v2
Using JSP, JPA using TopLink, Glassfish v2
Building Enterprise Applications
Using JSP/Servlets, EJB 3 – Session Beans, JPA using TopLink, Glassfish v2
Integrating an enterprise application with Struts2 [An extensible framework for creating enterprise-ready Java Web applications]
Building Enterprise Applications Using EJB 3.1
Using JSP/Servlets, EJB 3.1 – Session Beans, JPA using EclipseLink, Glassfish v3 Prelude
Using the NetBeans IDE to develop JPA based applications
Reverse Engineering POJOs and Mapping Documents from Database tables
Pagination using JPA
To ensure that the focus remains on understanding the technology, we have adopted the simplest and most customary domain models such as Customer, Authors, ContactDetails, Books, Subscribers and Guestbook.