There are a number of reasons why you might want to use the Java Persistence API. For one, it is a simple, lightweight programming model since it treats entity objects (that is, Enterprise JavaBean components that use container-managed persistence) as plain old Java objects (POJOs).
Reference
- Using Java Persistence API in a Visual Web Application
http://www.netbeans.org/kb/60/web/web-jpa.html - The Java Persistence API - A Simpler Programming Model for Entity Persistence
http://java.sun.com/developer/technicalArticles/J2EE/jpa/index.html - Using the Java Persistence API in Desktop Applications
http://java.sun.com/developer/technicalArticles/J2SE/Desktop/persistenceapi
No comments:
Post a Comment