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

Define ACID Properties?

0 Answers  


What is JAR file?

4 Answers  


What are different Methods and Classes written in a Session Bean

1 Answers   DELL,


What is the meaning of acid in the connection of transaction management?

0 Answers  


What are the differences between ejb 3.0 and ejb 2.0?

0 Answers  






What is stateless authentication?

0 Answers  


What do you mean by timer service and where it is used?

0 Answers  


What’s new in the ejb 2.0 specification?

0 Answers  


What is bean-managed persistence?

0 Answers  


How ejb invocation happens?

0 Answers  


what is the Control flow of an Entity?

1 Answers  


What are the various types of entity beam?

0 Answers  


Categories