Hi all,
Page 348 of HF says that after a business method is called on the ejbObject
The Container sees that this method needs a transaction, so the container starts one, then pulls a bean from the pool, and calls ejbActivate() on the bean.
So one would assume that since the container started a transaction before calling ejbActivate() on a bean that the bean would be in a 'meaningful transaction context'.
This assumption is contradicted by the note on the bottom of page 354 which says
The container prefers(no, make that INSISTS) that if you access a bean or a resource manager, you must be in a 'meaningful transaction context', so ejbActivate() is too early.
Why is this the case, since according to the first quote, the container begins a transaction prior to calling ejbActivate().
Thanks in advance.