I am trying to learn a little RMI for EJB. I used the "Flip" from Ed Roman's "Mastering EJB". When i run my server, it binds to the registry but throws a "ClassNotFoundException" for Flip_Stub.class. can someone tell me what mistake i could have meade. I ran the registry on 5008. (It was running when i invoked the server code) Thanks in advance.
posted 15 years ago
You must make sure that the directory containing Flip_Stub.class is in your classpath. Remember the Stub and skeleton will be placed in a directory hierarchy based on the path name. If doesn't work, try posting the source code to give a better example of what your problem is. ------------------ Ronnie Phelps Sun Certified Programmer for the Java� 2 Platform