开发者

What is the best approach for IPC between Java and C++ apps running on the same machine?

I would l开发者_开发百科ike to implement a robust IPC solution between a single JVM applet and a C++ application running on the same machine. What is the best approach for doing so?

Any suggestions will be greatly appreciated! Thanks!


sockets are about your best (only reasonable?) choice. although if you are running an applet, you will have to deal with access permissions issues (signing the applet will probably solve these).


Sockets as a transport protocol.

JSON as a message protocol, with optional length header or trailing zero if required.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜