troubleshooting Question

about RMI

Avatar of hpchong7
hpchong7 asked on
Java
6 Comments1 Solution229 ViewsLast Modified:
Dear all,
   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!
ASKER CERTIFIED SOLUTION
Netminder

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 6 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros