Discussions

EJB design: EJB Object Passing

  1. EJB Object Passing (3 messages)

    Hi All

    When we call an ejb method from a remote client and pass in some object as parameters, is it must that those objects needs to be serializable ones?

    In case that object being passed as parameters has refernce to some other object then what does happens?

    Thanks
    ~Sabya

    Threaded Messages (3)

  2. Parameters and returned values must implement Serializable
  3. EJB Object Passing[ Go to top ]

    To be more correct parameters and return values should be serializable or remote objects themselves. E.g. it is possible to have another EJB as return parameter.
  4. EJB Object Passing[ Go to top ]

    Or primitive types.