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

What is meant by ejb?

0 Answers  


Can EJB made to handle multiple transactions?

0 Answers  


What is enterprise bean provider?

0 Answers  


What is ejb and how it works?

0 Answers  


What are ejb containers?

0 Answers  






What is EJB server provider?

0 Answers  


What are the key features of the ejb technology?

0 Answers  


What transaction attributes does Java Bean containers support?

1 Answers  


Why is ftp stateful?

0 Answers  


What causes statelessness?

0 Answers  


What is the difference between session and entity beans? When should I use one or the other?

0 Answers  


What is the purpose of JNDI?

6 Answers  


Categories