Originally posted by Simon Ingram:
Hi ranchers,
True or false?
The answer is true. I said false because the container usually throws an exception when the user tries to invoke a bean method while the bean is processing another method. See HFEJB page 558 Transaction Scenario 2 and page 559 Client Scenario 3.
Surely if the bean is associated with a transaction it is in an open transaction?
regards
Simon
I was going between true and false for a while.
But here is what I found in the spec. page 253.
"The container invokes this method with an unspecified transaction context.
Note that if the instance state has been updated by a transaction, the container must first invoke the ejbStore() method on the instance before it invokes ejbPassivate() on it."
Vitaliy