ejb session beans and entity beans?

Answer Posted / thomas

session beans are function beans.two types of session beans
are stateless & stateful.It is not persitent on three cases
1. server crash
2. server shutdown
3. time out

where as entity beans are value beans. it contains only
setter and getter methods.it is persistent bean.it
maintains database, for storing objects. two types of
entity bean are
bean managed persistance & container managed persistance

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is enterprise javabeans (ejb) container?

536


Can beans who are involved in transaction have 'passivation' process?

547


What is the use of @resource?

553


Can you be deported if you are stateless?

480


What is ejb framework?

563






How does ejb work in java?

550


What is ejb in java?

540


What is ejb container in java?

520


How entity beans support container managed persistence?

1936


What is ejb ql?

571


Name the attributes of javax.ejb.ejb.

508


What were entity beans?

594


Where is ejb used?

526


Is it possible to have threading in ejb?

556


What is ejb and how it works?

527