This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes WHY JPA Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "WHY JPA" Watch "WHY JPA" New topic
Author

WHY JPA

rani vini
Greenhorn

Joined: May 13, 2009
Posts: 24
Can any one tell why JPA?


Thanks in advance
James Sutherland
Ranch Hand

Joined: Oct 01, 2007
Posts: 553
Kind of an open question, but see,

http://en.wikibooks.org/wiki/Java_Persistence/What_is_JPA%3F

http://en.wikibooks.org/wiki/Java_Persistence/Why_use_JPA_or_ORM%3F


TopLink : EclipseLink : Book:Java Persistence : Blog:Java Persistence Performance
Rohit Aggarawal
Ranch Hand

Joined: Jun 26, 2009
Posts: 39
You need to understand that s/w market is driven by standards and companies wants to follow/use those technologies that has its proven records as far as its usage is concerned. The Written code should be easier to code and Maintain too. Examples like Hibernate, EJb,iBaTis, toplink etc etc. These all followed JPA specification(s). JPA means nothing more than a standards.
However I would agree that JPA Specifications are subset of what is being followed by Hibernate and others.. Some like this.. Code for JPA not for EJB.


SCJP 6.0
SCBCD for JEE 5

Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Rohit agl wrote:You need to understand that s/w market is driven by standards and companies wants to follow/use those technologies that has its proven records as far as its usage is concerned. The Written code should be easier to code and Maintain too. Examples like Hibernate, EJb,iBaTis, toplink etc etc. These all followed JPA specification(s). JPA means nothing more than a standards.
However I would agree that JPA Specifications are subset of what is being followed by Hibernate and others.. Some like this.. Code for JPA not for EJB.



iBatis is not a JPA implementation.


GenRocket - Experts at Building Test Data
Rohit Aggarawal
Ranch Hand

Joined: Jun 26, 2009
Posts: 39
I apologies and that's correct. Thanks for updating me on this.
Ulas Ergin
Ranch Hand

Joined: Oct 10, 2002
Posts: 77
think of the advantages brought to us by JDBC on connecting databases.
JPA will do similar benefit for POJOs access to database.

Hibernate already supports JPA,Apache Cayenne announced upcoming support,Oracle has java version of toplink supporting JPA,there is also OpenJPA..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: WHY JPA
 
Similar Threads
JPA Help
JPA and EJB3
JPA Mapping Exception
How design the service classes?
Spring Persistence with Hibernate