什么是stub?

来源:互联网 发布:js ip地址正则表达式 编辑:程序博客网 时间:2024/05/29 17:04
j2ee里面的stub是这样说的,为屏蔽客户调用远程主机上的对象,必须提供某种方式来模拟本地对象,这种本地对象称为存根(stub),存根负责接收本地方法调用,并将它们委派给各自的具体实现对象(

Javax.xml.rpc.stub is the common base interface forthe stub classes. All generated classes are required to implement the javax.xml.rpc.stub interface. Aninstance of a stub class represent client side proxy or stub instance for thetarget service endpoint. The javax.xml.rpc.stub interface provides an extensibleproperty mechanism for the dynamic of a stub instance.

)
0 0
原创粉丝点击