You will want to get confirmation from someone who isn't just a rank novice, but it seems to me that if you call a method on a remote home object and that call has an object as a parm, then your parm has to be turned into a serialized copy of that object. RMI needs to carry the serialized object, so I'd say if the parm object was disagreeable to RMI-IIOP for any reason, it wouldn't work (so yes, your parms need to be RMI-IIOP legal). --Dale-- [ April 05, 2004: Message edited by: Dale Seng ]
Section 10.6.10 of the EJB specification 2.0 states
The methods defined in this interface must follow the rules for RMI-IIOP. This means that their argument and return types must be of valid types for RMI-IIOP, and their throws clauses must include the java.rmi.RemoteException.