VB和Java桌面应用程序通信
有两个客户端应用程序在 Win XP 中运行,其中一个使用 VB 5 构建,另一个使用 wint Java 1.4 构建。您建议使用什么机制在这些应用程序之间交换数据?
数据块较小(最大1k),并且操作是同步的; VB 应用程序触发“请求”,Java 应用程序响应它。
there are two client applications running in Win XP, one of them built with VB 5 and the other wint Java 1.4. What mechanism do you recommend to exchange data between these apps ?
The chunks of data are small (max 1k), and the operation is synchronous; the VB app triggers the "request" and the Java one responds to it.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

HTTP 是两者通用的协议。也许他们可以通过调用某种网络服务来传递消息。您还可以将它们耦合到数据库中:从一个应用程序插入信息,在另一个应用程序中选择信息。您只需要小心锁定和隔离即可。
HTTP is a protocol that's common to both. Perhaps they can pass messages by calling web services of some kind. You can also couple them in a database: INSERT information from one application, SELECT it in the other. You just have to be careful about locking and isolation.