J
javaguy44
Hi,
I'm new to EJB, and have done some tutorials etc on developing EJB,
but I'm missing something fundamental.
Why do we need to have a java object persisted, especially one that is
holding values from a database? Can someone please explain this, as I
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.
I have looked on the internet, and read various articles, but I
still don't get why I would need to build persistent java objects on
top of a database.
An example would be even better. Thanks.
Thanks for helping a EJB newbie
I'm new to EJB, and have done some tutorials etc on developing EJB,
but I'm missing something fundamental.
Why do we need to have a java object persisted, especially one that is
holding values from a database? Can someone please explain this, as I
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.
I have looked on the internet, and read various articles, but I
still don't get why I would need to build persistent java objects on
top of a database.
An example would be even better. Thanks.
Thanks for helping a EJB newbie