I have read about the dangers of beginning a transaction in a stateful session bean and not ending that transaction - which could result in the bean never being passivated. My question is then how do I ensure the transaction ends bearing in mind I only use container transactions?
Thanks in advance,
This danger does not exist for container managed transactions. It exists only for bean managed transactions.