Click to See Complete Forum and Search --> : Interprocess communication


skorzeni
August 5th, 1999, 02:53 PM
I'm trying to write a GUI in JAVA, using SWING, and I will need this GUI to communicate with C++ client code (probably through a Scheme interface if Java and C++ cannot communicate directly) and with a 3D graphics rendering program, probably Open Inventor. Could someone please direct me to a place where I can find information on how to get interprocess communications (sockets and pipes) going between Java and scheme and/or C++? I would really appreciate any help you can give.

DAVID DONG
August 6th, 1999, 07:27 AM
use socket is a way.
jni may also be useful.

This is from david dong.

skorzeni
August 6th, 1999, 12:17 PM
It was my understanding that sockets vary from UNIX machine to UNIX machine. The reason for my GUI being written in JAVA rather than C++ is that we want our application to be portable to as many systems as possible. Are there sockets that will behave uniformly for at least one system? I guess I'd have to write a different bit of code for each operationg system we'd want it to work on...
I will look into jni. There are so many libraries that I didn't know where to start looking.

Thanks.