Discussion Locked

Java UI VC++ code

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi,

Is it possible to have the UI of the application in Java, with the underlying code written in VC++ ? How do you take care of the communication ?

Thanks in advance.
Kishore

5 replies

by jay eckles

Isn't that what Java Native Interface (JNI) is for? Calling methods written in another language on a proprietary platform?

Look it up - I know there's something like that built into Java, I just don't remember the name of the API.

Good luck.
Jay Eckles
www.jayeckles.com

by munirishi

Have you thought about using CORBA. UI will be written in Java. Backend would be C++ or any other language. Use IDL to define the interfaces. Java CORBA on one end and use any other ORB (even free ones) on your C++ side. If interested in more details refer to
Core Java 2, Volume II: Advanced Features.

Good Luck,

** Munish **

This discussion is closed to new replies.