What happens if an object parameter that does not implement Remote or Serializable is passed to a remote object?
Location: http://www.jguru.com/faq/view.jsp?EID=331657 Created: Feb 16, 2001 Modified: 2001-02-18 21:36:35.256 Author: Suresh Rangan (http://www.jguru.com/guru/viewbio.jsp?EID=308330) Question originally posed by praveenkumar thirkkol (http://www.jguru.com/guru/viewbio.jsp?EID=320826 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.
Related Questions
- I have setup my SQL Remote to send every 10 minutes. What happens when it takes more than 10 minutes for DBRemote to run?
- Suppose I call a COM object from a .NET applicaiton, but COM object throws an error. What happens on the .NET end?
- Are classes that implement Serializable required to have no-argument constructors?