ejb session beans and entity beans?



ejb session beans and entity beans?..

Answer / 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

More EJB Interview Questions

Difference between javaBeans and Enterprise JavaBeans?

1 Answers   Indotech, Tech Mahindra,


What is ejb container in java?

0 Answers  


what is mean by port ? Please answer me. Advance thanks.

2 Answers   Excel,


ejbCreate in Entity bean and create method in EJB home, have the same parameters?

2 Answers  


What is difference between ejb 1.1 and ejb 2.0?

0 Answers  






What are the services that a container provides for an entity bean?

3 Answers  


What are the attributes of transaction in ejb?

0 Answers  


How is ejb different from java beans?

0 Answers  


What is ejb and why it is used?

0 Answers  


What do you mean by ejb ql?

0 Answers  


How many enterprise beans?

0 Answers  


What’s the difference between hibernate and ejb 3?

0 Answers  


Categories