How JPA and hibernate are related as per EJB 3 specifications?

Questions by sunils   answers by sunils

Showing Answers 1 - 13 of 13 Answers

Sanjay Ichalkaranje

  • Oct 25th, 2006
 

JPA is a persistence API by Sun. As per sun, JPA takes best ideas from persistence frameworks like Hibernate, TopLink2.

  Was this answer useful?  Yes

Sony V George

  • Apr 5th, 2007
 

JPA Is Java Persistance API , it will give the most pefect api from the Persistanc Frame work like, Top-link, Hibernate , OracleDAO. This was not there with ejb2.1 . The main feature of EJB3.0 is the favour of JPA so that programers can use the entity bean much easier and simpler.

  Was this answer useful?  Yes

accenture

  • Jul 25th, 2007
 


Java Persistence API is implemented as per EJB3 specification and having more features of Hibernate.  JPA is framed by adding few features of kodo which is a ORM tool.

  Was this answer useful?  Yes

Sri

  • Oct 12th, 2007
 

JPA is official acceptance from SUN about its failure on EJB. It has to abandon its EJB model to go to ORM model. Finally, Sun  should provide developers some tools to migrate Java programs to .net easily with out pain

first things first ..

i have just seen ppl venting thier personal grudge over java / jpa or whatever over this forum.

suns official sacceptence that jpa is a failure. please lets keep it out.

as for the answer ,

JPA is a specification , its nt a frame work and there is no actual coding .

one can not build application using JPA.

Hibernate is an implementation of JPA. one can build applications using hibernate.

if hibernate is used as JPA implementation , we have to specify the same in  persistence.xml .

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions