Just an interesting question. "Good" clients of statefull session beans are supposed to call the beans' remove() method. But what to do if the client is also a bean? So the client runs a global transaction and the statefull session beans participate in the same transaction: their are created and do their job within the same transaction. Can the bean-client call remove()? I tried in WebSphere and received Can the bean-client remove statefull session beans? When? Where?
Thank you, Viktor
SCJP 1.4, SCBCD 1.3
posted 15 years ago
Let me refrase the question: Can the bean, which is involved in currently running transaction, be removed?