File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes Wht is data persistency. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Wht is data persistency." Watch "Wht is data persistency." New topic
Author

Wht is data persistency.

manoranjan chiku
Greenhorn

Joined: Mar 10, 2009
Posts: 1
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...........



Manoranjan Praharaj
System Engg. TCS
Reza Rahman
author
Ranch Hand

Joined: Feb 01, 2005
Posts: 580
    
    5
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


Independent Consultant — Author, EJB 3 in Action — Expert Group Member, Java EE 6 and EJB 3.1
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30537
    
150

Manoranjan,
Welcome to JavaRanch!

See my signature for how to ask questions in a way that makes them likely to get answers.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
wood burning stoves
 
subject: Wht is data persistency.