1 Reply Latest reply on Jun 28, 2017 8:56 AM by jaikiran pai

    Serialization of objects in local invocation

    Arkady Zelekman Newbie

      I am using Wildfly 8.2.0

       

      Have following code:

       

      @Stateless

      public class BeanA{

           @EJB

           BeanB beanB;

       

      ...

          beanB.someFunction(objA);

      }

       

      I thought objA should pass over serialization + de-serialization before it comes to implementation of "someFunction" of beanB, but I see the exact pointer to objA is coming to beanB.

      Can anyone one explain me what is the point here ?

       

      Thank you in advance.