This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
After compiling all the java files and generating the stub and skeleton for the remote class when I execute Register.java class that registers and starts the server I get teh error:
java.rmi.ServerException: remote Exception occurred in server thread; nested Exception is :
java .rmi.UnmarshallException :error unmarshallingarguments ; nested exception is:
MyServer_Stub and MyServer_Skel.class files are there.....I am trying to pass the object of a class A that implements Serializable interface, I have tried passing the primitive data types which was successful but this is not working..... Codes are given below if anyone wants to have a look.
MyServer.java //Class MyServer implements the Remote interface
RegisterServer.java //java file which registers the remote server to directory service
MyClient.java //client class that sends the remote method invocation