Is the 'call-by-value' semantics supposed to work for stateful session beans when using a single VM in 4.0.4.GA-Patch1 ? I've searched this forum and the Wiki and seem to get confusing and sometimes conflicting information. At present it isn't working for me as the object I get back from a JNDI lookup wasn't loaded from the correct class loader.
Is this the expected behaviour, or is this a bug? The 'call-by-value' semantics appear to be working for stateless session beans.
The current project I'm working on is packaged as such:
myEjbs.ear ejb1.jar myApps.ear simpleApp.war WEB-INF/lib/ejb1-client.jar