Netbeans 5.5.1 and RMI Programming
I have written some sample RMI code which compiles OK. The problem is that when I start rmiregistry manually (from a shell window), and I click "RUN" in netbeans, it complains with the following message:
Constructing server implementations...
Binding server implementations to registry...
javax.naming.CommunicationException [Root exception is java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: productserver.Product]
How do we develop RMI applications with Netbeans. I have looked everywhere on Netbeans.org but it's impossible to find anything. A search on RMI, shows an RMI module that can be installed, but it's for an older version of netbeans, with the pre JDK-5 (1.5) methodology: rmic, etc.

