Forums Register Login
Is still required rmic?

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.

Hi Pedro,

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).

Regards, Andrew
Good point Andrew,

I have never really understood how the RMI stub stuff works on java 5 platform.
Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards

This thread has been viewed 553 times.

All times above are in ranch (not your local) time.
The current ranch time is
Mar 18, 2018 00:21:55.