Re: connecting java and c
It's certainly possible; CORBA can do it (but is probably overkill in this case).
The simplest thing may be to spawn the GUI from the C program as a separate process, and communicate with it via pipes.
Re: connecting java and c
Let me understand what u mean...
create a thread in c which would separately interact with java program with the help of corba. ryt ??
Re: connecting java and c
Quote:
Originally Posted by rani_techie
Hello All,
One of my co worker in the company is having a wierd problem. He has a gui which is implemented in java. Where he has a text box in which user has to give some input. Now he has to retrieve this value from the text box using a c program
Why must the value be retrieved from the textbox directly in C? Why can't the Java program read the value entered in the textbox, and then send that value to a C module?
In this case, use JNI.
Regards,
Paul McKenzie