1. Start a bean-managed transaction within a stateless session bean (S1) 2. do a lookup to a second stateless session bean (S2) 3. do something within S2 (no own transaction is inititated, I want to use the on of S1) 4. Commit the transaction within S1
My Problem is, that m operation in S2 is not part of transaction, but I want S2 to use the transaction of S1. I know that ther is a <trans-attribute>Supports</trans-attribute> for <container-transaction>, but I'm using <transaction-type>Bean</transaction-type>. What can I do, to include the transaction in S2?