File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Distributed Java and the fly likes RMI+JNI or CORBA? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "RMI+JNI or CORBA?" Watch "RMI+JNI or CORBA?" New topic


Eric Her

Joined: Apr 26, 2005
Posts: 1

We are designing a distributed java application which will have to call some methods written in C++. Which do you think is the best option: RMI/JRMP and JNI for wrapping the C++ module or CORBA?

If we use EJB's in the java part, will we have to use IIOP for remote calling?

Thanks in advance,
Dom King

Joined: May 19, 2004
Posts: 18
If you decide to wrap C++ using JNI, take a look at NewJNI, the natural C++ interface to Java. NewJNI is included free with NewJ for C++.
I agree. Here's the link:
subject: RMI+JNI or CORBA?
It's not a secret anymore!