Thursday, 9 May 2013

What is the difference between Stateful session bean and Stateless session bean? | EJB Interview Questions

1.    A stateful session beans can keep data between client accesses. where as a stateless session bean cannot.
2.   A stateful seesion bean contain the state of client after seesion is expired. whereas a stateless bean cannot.
3.  A stateful session beans use the bean of pools for client application n after use them it return the bean in the pool. whereas a stateless session bean cannot.


No comments: