0 Replies Latest reply on Apr 11, 2003 3:01 PM by Sreeni

    Remote EJB - Pass by reference?

    Sreeni Newbie

      Hi ,

      I am trying to find out if JBOSS supports pass
      by reference to remote EJB?. If so how..

      Say a remote API,

      void doSomething(Vector vect)

      Before calling this API, vect that is supplied is empty (not null) . After client makes this call, client wants to read data from Vector that was populated on server.

      I know EJB (or RMI) always does a pass by value for remote but want to know if there are any way of configuring JBOSS to do pass by reference...

      One way declaring the ouput data as return value.

      like

      vector doSomething(Vector vect)

      I am currently in a process of converting a lot of
      local APIs that does a pass by reference. to EJB remote calls..


      Please let me know if there is a better way of doing this. Any advis will help.

      Thanks,
      Sreeni