Originally posted by Stefan Guilhen: HF-EJB is correct. The specification does not say the methods must be from the same bean.
Woa.. my bad here. As ks wong properly pointed out in this thread the specification does really say that all the methods declared in a single container-transaction element are required to be from the same enterprise bean. I personally think this is a little weird since you could use multiple method tags to describe methods from different enterprise beans because the method tag has an ejb-name tag that indicates the ejb in which the method can be found. I cannot think of any reason why the container-transaction would require all methods to be from the same ejb. Any ideas?
Apologies for the wrong info in the previous post, Stefan [ March 22, 2005: Message edited by: Stefan Guilhen ]
SCJP 1.4, SCBCD 1.3<br />IBM 141, 484, 486
We don't have time to be charming! Quick, read this tiny ad: