What happens if an object parameter that does not implement Remote or Serializable is passed to a remote object?

Suresh Rangan

If a non-remote non-serializable object (an object which doesn't implement Remote nor Serializable interfaces) is passed as an object parameter, you will get a java.io.NotSerializableException

Non-remote objects which are passed as parameters must be Serializable and are passed by copy.

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.