difference between stateless and stateful session beans
March 29, 2007 11:47pm CST
how to identify which is preferable stateless or stateful during design time
30 Mar 07
The difference is in maintenance of a state. When you use stateless session bean there is no state maintained during bean executions in opposition to the stateful session bean when the state is maintained during executions. If you have a requirement about the transaction that should span over two or more bean executions you should use statful session bean, otherwise use stateless session bean with the transaction that spans over the one execution of a bean.