> This is what I wanted to hear. I don't care about > only one thread, I am just > concerned about having only one running thread. > > I am adding an application level transaction data > private to the cmp plugin, > so I need to know if I need to synchronize access to > the tx data. This is > similar to thread local except it is tx local. >
I am sorry I hadn't read your original post clearly (the second part). The way the container works from the "Scheduler" on down is that you always only have one thread at a time calling the bean, that is spec requirement, you can have reentrancy if you are associated with the same transaction though, you still wait for your turn to call the bean (and teh cmp engine) but at least you know you wait to go in. marcf ______________________________________________________________________ View this jboss-dev thread in the online forums: http://jboss.org/forums/thread.jsp?forum=66&thread=6159 _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
