This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Didn't realize I posted it in a wrong forum. Here is my question.
What is relationship between these two? Somewhere in HFEJB and the spec, if I remember it correctly, says that you can only access to resource manager or other ejb if you are in 'meaningful transaction context'. Then how about stateful session bean's ejbCreate() and ejbRemove(), they are not in tx but you can access resource manager? This is only exception I can find though.
[Then how about stateful session bean's ejbCreate() and ejbRemove(), they are not in tx but you can access resource manager?] - By this, I presume you are talking about CMT SFSB. I have to differentiate between CMT and BMT because it makes a difference for your question.
I would think that transactions and accessing resources (eg other beans and resource managers) are not related to each other.