I want to ask sth about RMI:
client.java:client side file that invoke remote method
jdbcdata.java:remote method interface
jdbcdataImpl.java:remote method implementation.
after I call rmic jdbcdataImpl, the stub class and skeleton class will be generated. I have some confusion:
I will put the following file into the client side:
jdbcdata.class, client.class and jdbcdataImpl_Stub.class
However, if there is a change on the server side remote method,even the slightest modification, then I need to re-run "rmic jdbcdataImpl" and put the new Stub file to the client side.Is it correct? If so, rmi is not as flexible and efficient as I think!Then where is the advantages?Thanks!