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
-
EJB Object Passing (3 messages)
- Posted by: Sabyasachi Chowdhury
- Posted on: July 22 2005 16:43 EDT
Threaded Messages (3)
- EJB Object Passing by Edson Alves Pereira on July 24 2005 13:45 EDT
- EJB Object Passing by Maxim Zakharenkov on July 27 2005 04:26 EDT
- EJB Object Passing by Wei Zhang on August 04 2005 02:14 EDT
-
EJB Object Passing[ Go to top ]
- Posted by: Edson Alves Pereira
- Posted on: July 24 2005 13:45 EDT
- in response to Sabyasachi Chowdhury
Parameters and returned values must implement Serializable -
EJB Object Passing[ Go to top ]
- Posted by: Maxim Zakharenkov
- Posted on: July 27 2005 04:26 EDT
- in response to Edson Alves Pereira
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. -
EJB Object Passing[ Go to top ]
- Posted by: Wei Zhang
- Posted on: August 04 2005 02:14 EDT
- in response to Edson Alves Pereira
Or primitive types.