Hi,
I am deploying a stateful session bean which uses another stateless session bean on JBoss 3.2.1 and I am wondering whether the behavior of JBoss is correct.
In my stateful session bean I simply lookup the stateless session bean using the generated utility class by XDoclet and then simply use it. This works on JBoss 3.2.1.
In the examples I have seen, people add an <ejb-refs> section to the ejb-jar.xml file to make this happen and then use the JNDI name defined there.
Am I correct in assuming that the behavior of JBoss 3.2.1 is correct but that the <ejb-refs> section provides (yet) another level of indirection to insure component independence?
Cheers
Erik