Howdy folks,
I'm back again for a little while
There's a slight difference between RMI and RMI/IIOP, but for the purposes of the exam, anything that is considered an RMI type is all you need to know. You do not need to understand the subtle differences between RMI and RMI/IIOP types.
The types are primitives, Serializables, Remote objects, an array of any of those things, and a Collection of Serializable or Remote objects EVEN if the Collection interface is not itself Serializable, as long as the Collection implementation is in fact Serializable (and most, although not ALL, are).
So, basically the only things that are not valid types are non-Serializable *objects*. But one bad apple spoils the rest of the collection, so if you have an array or Collection of objects, ALL the objects must be Serializable or references to Remote objects (which means a Serializable stub will be substituted).
cheers,
Kathy