1 Reply Latest reply on May 12, 2004 2:53 AM by Adrian Brock

    New to EJB...why do we need persistence instead of DB?

    java_newbie Newbie


      I'm new to EJB, and have done some tutorials etc. but haven't seen the need for persistence yet.

      As I understand it, making an object persistent means that the object lives forever, even if there's a shut down of the app server. Is this right?

      Now my question is, what role does entity bean persistence play, that a database cannot do? This is what I don't understand.

      Thanks for helping a EJB newbie