I do not set java.rmi.server.codebase or any other system properties
Everything works fine. My question is: is "dynamic class downloading" occurring since I did not explicitly create and include any stubs in the runme.jar? Should I run rmic and include stubs in the runme.jar?
In the J2SE 5.0 "New features" document it states that:
Dynamic Generation of Stub Classes - This release adds support for the dynamic generation of stub classes at runtime, obviating the need to use the Java Remote Method Invocation (Java RMI) stub compiler, rmic, to pregenerate stub classes for remote objects. Note that rmic must still be used to pregenerate stub classes for remote objects that need to support clients running on earlier versions.
Is this why it works? Am I violating the requirement?
Thanks! [ October 11, 2005: Message edited by: Tomas Varsavsky ]