0

In the rmi getting started tutorial written that instance which inherited from RemoteStub creates by rmi compiler. I don't understand, what is it? When rmi compiler is started? Is true that rmic started just after javac is started? I dont understand why for stub objects need its own compiler?

4

1 回答 1

2

那一定是一个老教程。从 Java 5 开始,根本不需要运行rmic,因为 RMI 机制可以使用动态代理来完成以前由 rmic 生成的存根完成的工作。

于 2013-11-12T21:57:30.533 回答