Book Image

Java EE 7 Development with WildFly

Book Image

Java EE 7 Development with WildFly

Overview of this book

Table of Contents (21 chapters)
Java EE 7 Development with WildFly
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Data persistence meets the standard


The arrival of an Enterprise Java Persistence standard based on the Plain Old Java Object (POJO) development model fills a substantial gap in the Java EE platform. The previous attempt (the EJB 2.x specification) missed the mark and created a stereotype of EJB entity beans that was awkward to develop and too heavy for many applications. Therefore, it never achieved widespread adoption or general approval in many sectors of the industry.

Software developers knew what they wanted, but many could not find it in the existing standards, so they decided to look elsewhere. What they found was lightweight persistence frameworks, both in the commercial and open source domains.

In contrast to EJB 2.x entity beans, the EJB 3.0 Java Persistence API (JPA) is a metadata driven POJO technology, that is, to save the data held in Java objects in a database, our objects are not required to implement an interface, extend a class, or fit into a framework pattern.

Another key...