更改CORBA接口而不重新编译 [英] Changing a CORBA interface without recompiling

查看:163
本文介绍了更改CORBA接口而不重新编译的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想向我现有的服务器的CORBA接口添加一个方法。

I'd like to add a method to my existing server's CORBA interface. Will that require recompiling all clients?

推荐答案

不需要重新编译客户端(并且不应该使用,而不管您使用的ORB)。正如亚当所指出的,查找是通过操作名称(一个直接的文本比较)完成的。

Recompilation of clients is not required (and should not be, regardless of the ORB that you use). As Adam indicated, lookups are done by operation name (a straight text comparison).

我已经做了你用我们基于ACE / TAO的系统描述,并且没有遇到任何问题(服务器在ACE / TAO C ++中,客户端是ACE / TAO C ++,C#使用Borland的Janeva和OmniORBPy)。

I've done what you're describing with our ACE/TAO-based system, and encountered no issues (servers were in ACE/TAO C++, clients were ACE/TAO C++, C# using Borland's Janeva, and OmniORBPy).

这篇关于更改CORBA接口而不重新编译的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆