One basic question..

Hi All,I have a very basic level question When should I use SessionBean and when should I use EntityBean? An illustration with some link to resource will be really helpfulThank youA.
[217 byte] By [d_anand123a] at [2007-9-27 10:15:07]
# 1

Hi,

An entity bean represents persistent global data from the database

where as a session bean represents transient user-specific data that will die when the user disconnects i.e. ends his session.

Generally, the session beans implement business methods that call entity beans.

...san :-)

slg00700a at 2007-7-9 0:27:32 > top of Java-index,Other Topics,Patterns & OO Design...