When to use Stateful session bean over Stateless session bean?
问题 A stateful session bean is defined as follows: Stateful Session Beans The state of an object consists of the values of its instance variables. In a stateful session bean, the instance variables represent the state of a unique client-bean session. Because the client interacts (“talks”) with its bean, this state is often called the conversational state. A stateless session bean is defined as follows: Stateless Session Beans A stateless session bean does not maintain a conversational state with