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?
Parameters and returned values must implement Serializable
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.
Or primitive types.