Difference Between Stateful and Stateless Session Beans
Difference Between Stateful and Stateless Session Beans: "Session beans can either be stateful or stateless. With stateful beans, the EJB container saves internal bean data during and in between method calls on the client’s behalf. With stateless beans, the clients may call any available instance of an instantiated bean for as long as the EJB container has the ability to pool stateless beans. This enables the number of instantiations of a bean to be reduced, thereby reducing required resources."

0 Comments:
Post a Comment
<< Home