14 December 2010

JPA - Java Persistence API

JPA seems to be another generation of Hibernate. It seems that even SUN has problem defining the difference between them.
Sun Says:
Sun Microsystems has stated that ideas came from several frameworks, including Hibernate and JDO.
But what is JPA ? it seems it is a persistence entity is a lightweight Java class whose state is typically persisted to a table in a relational database.
So what it does, it does what Hibernate was doing plus some more extra features. What are those features ? I am not sure yet, whenever I have hands on experience I will write here.
How to use it ?
Thanks to developers of EclipseLink, you can easily use that tool utilizing JPA within Eclipse for your project. For more information about EclipseLink, please visit their website.

No comments:

Post a Comment