Do we really need to create Stub in java RMI?

纵饮孤独 提交于 2019-12-04 06:12:23

Since Java 1.5 you don't have to:

This release adds support for the dynamic generation of stub classes at runtime, obviating the need to use [...] stub compiler, rmic, to pregenerate stub classes for remote objects. Note that rmic must still be used to pregenerate stub classes for remote objects that need to support clients running on earlier versions.

From http://download.oracle.com/javase/1.5.0/docs/guide/rmi/relnotes.html

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!