Can I pass Externalizable objects by value using RMI, or do the objects have to implement Serializable directly?
Location: http://www.jguru.com/faq/view.jsp?EID=38866 Created: Apr 21, 2000 Modified: 2000-04-21 13:33:51.951 Author: Tim Rohaly (http://www.jguru.com/guru/viewbio.jsp?EID=10) RMI will allow you to pass any object that is serializable according to the serialization specification. This includes objects that implement Externalizable as well as objects that implement Serializable. Note that Externalizable extends Serializable, so anywhere you see the use of the generic term “serializable” you can assume it refers to objects that implement either of these interfaces.
Related Questions
- My EJOE client application (or server) sends or retrieves objects which don implement Serializable. Does EJOE support serialization of such objects?
- How can I pass a certain value to the standalone application as a command line argument?
- Why would I want to implement Externalizable instead of Serializable?