Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

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

0
Posted

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

0

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

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123