posted 19 years ago
In spec of 17.6.1, it says:
If the client request is not associated with a transaction and the instance is already associated with a transaction T2, the container invokes the instance with the transaction that is associated with the instance (T2). This canse can never happen for a stateless Session Bean or a Message-drive Bean.
Does the following represent the scenerio above?
Client invokes on foo,
foo {
bar()
....
}
bar {
ut.begin()
.....
ut.commit()
}
I dont think it is right. What does transaction associated with instance mean?
Any why only for SB/MDB only?
Thanks.