JMI RMI is defined in the Java RMI specification. This means that it must be the same in all Java implementations, prohibit errors and prohibit implementations other than Java, such as GNU CLASSPATH. The biggest problem you will encounter is serialVersionUID mismatch: you need to be careful to define them for all your own classes, and you need to avoid serializing JDK classes that do not guarantee stable sequential formats, for example. Swing classes like Javadoc for each of them tells you.
source share