I have just started off with EJB and i cant make sense that whay should my argument/return types of method must be of Serializable type, for a remote Object.
Again, if it is Serializable, then the Class 'es must be present in the remote client, if i want to deserialize my remote Object/ stub. In that case what is the point of having a RPC?? Please help me out as I am really confusing myself!!!
If debugging is the process of removing bugs, then programming must be the process of putting them in. -- Edsger Dijkstra
Thiago Alves de Moraes
posted 4 years ago
Remote method should have arguments and return types serializable because you are going through a remote call, that is, passing data through the network.