Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the best ORB for Java/C++ interoperation using CORBA?

Tags:

java

c++

corba

I have a client-server application written in Java using CORBA for the communication. The ORB used is orbd, the one provided by the Java6 platform. I have to replace the Java server implementation with another one written in C++. So the question is, of the free source implementations of CORBA libraries, which one better interoperates with this ORB? Should I replace the Java ORB and also use the ORB provided by the C++ library?

The objective is to have an easy and smooth transition when replacing an already functioning server with the new C++ implementation. Is there anything else that I should take into account?

like image 398
tonicebrian Avatar asked Jan 13 '09 16:01

tonicebrian


People also ask

How does Java support CORBA?

CORBA complements the Java™ platform by providing a distributed object framework, services to support that framework, and interoperability with other languages.

What are the applications of CORBA?

CORBA enables communication between software written in different languages and running on different computers. Implementation details from specific operating systems, programming languages, and hardware platforms are all removed from the responsibility of developers who use CORBA.

How is CORBA implemented?

All CORBA implementations provide an object request broker (ORB), that handles the routing of object requests in a way that is largely transparent to the application developer. For example, requests (method invocations) on remote objects that appear in the client code look just like local method invocations.


1 Answers

It's a long time I didn't use CORBA for Java and C++ interoperability, so maybe my answer will be a bit outdated.

What I found to work very well together was omniORB (C++) and JacORB (Java). You may search for those libraries on google and see if they are still supported.

I also remember I have had big problems with "native" Java CORBA (there are many bugs in Sun Bugs Parade, open for many years...) but that was at JDK1.4 time, hopefully things are a bit better now...

like image 76
jfpoilpret Avatar answered Sep 29 '22 06:09

jfpoilpret