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 stateless code?

487


Why do we use ejb?

517


What is difference between stateless and stateful?

493


For ejb applications with bean-managed transaction demarcations, which of the following is used by the client to get a reference to the usertransaction object for the weblogic server domain?

531


What is pub/sub model?

504






Explain ejbhome and ejbobject in ejb?

577


What is the default transaction attribute for an ejb?

535


How to create ejb project in eclipse?

523


What is mdb?

544


How does ejbs work?

503


Explain the architectural relationship between JavaBeans and JTA?

2385


Enlist the CallBack methods of Session Bean?

560


What is ejb and its properties?

520


What do you mean by abstract schema?

556


Mention the three levels for applying interceptor methods.

530