This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
Hi, I have a few questions: I create a server directory inside /suncertify and a client directory inside /suncertify. Should I only run rmic inside the /server directory, or will the /client directory also need the stub and skeleton, or will it only need the stub? If I have my db.db inside starting/, is that where I should start rmiregistry? Right now I had a Marshalling exception and I read the older posts about it but still cant figure it out. Any help would be great. Thanks guys. Also, do I need to worry about the Sun grader changing rmi.server.codebase or can i assume it will be localhost? Thanks.
Joined: Jun 15, 2002
Guys, it doesnt get any more ridiculous than this: I had marshalling exceptions, ClassCast exceptions, and everything but the kitchen sink because I said java.rmi.codebase=.....\ instead of java.rmi.codebase=..../ Flipping slashes does the trick, I hope no one has to go through the headache that this gave me.
You only need to include the stub in your client package, the skeleton is only used if you are using JDK 1.x, not in JDK 1.2.x - Remember to put the remote interface in the client package as well. /Ren�