Which statement is true about the EJB 3.0 stateful session bean?
A. Its conversational state is retained across method invocations but not across transactional boundaries.
B.Its conversational state is retained across method invocations and transactions.
......
Given answer: B.
In JSR 318 , it does says B. So, I agree that B is the right answer.
But I have a question:
The
EJB container does not support nested transactions , how can the bean's conversational state can be across multiple transactions?
Also, in JSR 317, it also mentions that a stateful bean's transaction can be propagated to a second stateful bean. The persistence context is propagated from the first bean to the second bean.
This refers to only one transaction with the same persistence context being extended from one stateful bean to another stateful bean.
How can a conversation be across multiple transactions?