What are types in SessionBeans?



What are types in SessionBeans?..

Answer / sathya


Stateless SessionBean

Stateful Session Bean

The former,as the name suggests, doesn't maintain state
across sessions , each bean is independent , genereally a
pool of stateless beans are created and each bean returns to
this pool once its taks is completed.

Stateful Beans on other hand, maintains the session across
the states and returns to the pool once the session is timed
out.
can be used for database operations although not recommended.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More EJB Interview Questions

Who took over ejb?

0 Answers  


What are stateless applications?

0 Answers  


Name the attributes of javax.ejb.stateful.

0 Answers  


can u explain about design patterns like singleton,builder,factory

0 Answers   EdgeSoft,


How is ejb different from java beans?

0 Answers  






Define Context?

0 Answers  


Why serialization is used?

2 Answers   IBM,


What are the advantages of ejb?

0 Answers  


Define Clone?

0 Answers  


What is ejb bean in java?

0 Answers  


Explain the concept of ejb ql?

0 Answers  


What is the procedure of ejb container to handle exceptions?

0 Answers  


Categories