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.