0 Replies Latest reply on Jul 12, 2006 11:32 PM by Michael L. Gantz

    Stateful session beans call by value in 4.0.4.GA-Patch 1 , d

    Michael L. Gantz Newbie

      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