• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Wht is data persistency.

 
manoranjan chiku
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all
Could any one please explain how Entity beans store data in persistently.
What is advantage over JDBC. Please provide url Or you can explain.
Then how Hibernate in different from EJB (Entitybeans).


And in case of server crash How entity beans are useful...........

 
Reza Rahman
author
Ranch Hand
Posts: 580
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Manoranjan,

I don't think it is altogether reasonable to expect to answer these questions on a forum post. You may be best off picking up a good reference on EJB 3 or JPA. I don't know of any basic ones online, but the Sun Java EE 5 tutorial is decent.

In short, you write less low-level code in JPA than you do in JDBC. Hibernate 3 is a JPA implementation. JPA Entities do not automatically survive container crashes as EJB 2.x Entity Beans do.

Hope it helps,
Reza
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34225
341
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Manoranjan,
Welcome to JavaRanch!

See my signature for how to ask questions in a way that makes them likely to get answers.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic