hi:
I am using Eclipse as an
IDE. I build a small class to register an object with RMI registery. When I run it, I got StubNotFoundException. After few hours of banging my head on my desk, I used the line command rmic to generate the stub. first It gave error when I put the class name only, it worked fine when I put the full qualified class name. It generated a stub and placed it in the qualified directory. After that, I had to remove the generated stub for its directories and place it in the class files directory, so that it can be visible.
My questions:
1) can I do this using Eclipse? I looked at the help file, but found nothing.
2) Do I have to do all this proceedure everytime I generate a remot object?
3) Do I need to include the stubs in the jar file when I submit it, or how can the examiner know what to generated?
thanks
SCJD 1.4<br />SCJP 1.4<br />-----------------------------------<br />"With regard to excellence, it is not enough to know, but we must try to have and use it.<br />" Aristotle