Hi all, According to the specification section 20.7, if we lookup "java:comp/UserTransaction" in ejb not allowed to use this interface, it should throw "NameNotFoundException". However, I tested with J2EE SDK1.3 and lookup "java:comp/UserTransaction" in a CMT SFSB, there is no exception thrown and I was given a UserTransaction object where I can call its begin() and commit(). (If the SFSB is Required, begin() throws exception for nested transaction. If it is NotSupported, begin() and commit() actually executed successfully). I am not sure if this a violation of the specification or is it just my error in testing. Can anyone help? thx
I am going down to the lab. Do NOT let anyone in. Not even this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!