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

What are the various methods of an Entity Bean?

1 Answers  


In bean managed transactions, how session bean can be configured?

1 Answers  


What is a ejb container?

0 Answers  


what is a ejb architecture? and overview of ejb software architecture?

1 Answers  


What is entity bean?

0 Answers  






What is persistence?

2 Answers  


Can beans who are involved in transaction have 'passivation' process?

0 Answers  


Write down the steps for the creation of stateless ejb.

0 Answers  


What are the types of enterprise bean?

0 Answers  


What is mdb?

0 Answers  


How to connect to a specific enterprise bean?

2 Answers  


What is the difference between @requestparam and @pathvariable?

0 Answers  


Categories