I'm reading my assignment, and in section "Restrictions on RMI" I read this:
You must provide all classes pre-installed so that no dynamic class downloading occurs.
I'm wondering if it means that I must use rmic to generate the stubs or if it means that I don't have to use an http server for downloading classes from the server.
Post by:Andrew Monkhouse
, Marshal Commander
I asked Sun about this when I was writing my book, and they were very explicit that rmic must be used.
If you do not use rmic, then the stubs will be compiled on the server when first requested, then dynamically downloaded to the clients (using RMI's protocols if you haven't specified anything different).
Post by:Romeo Son
, Ranch Hand
Good point Andrew,
I have never really understood how the RMI stub stuff works on java 5 platform.