CORBA IDL, C++, Java, all together: how?

  • From: "mhwood" < >
  • To:
  • Subject: CORBA IDL, C++, Java, all together: how?
  • Date: Tue, 01 Jan 2013 18:21:12 -0500

NB 7.2.1.  I've written some simple IDL and have sketched out Java clients 
which are using it just fine, representing them as Maven projects in NetBeans.

Now I want to write servers, some of which must be in native code.  (Plus, I 
want to learn to write CORBA applications in C++ too.  Wrapping Java around 
minimal JNI code is less interesting to me at the moment, though I may do one 
of the servers that way to learn that method.)

I have a C++ NB project, but although I've walked all around the plugin and 
tried stuff, I can't see how to get NB to run the IDL compiler that produces 
C++ sources.  (I'm trying to use OmniORB 4's omniidl.)

I've come to the conclusion that my thinking doesn't properly model the way 
the NB C++ plugin works.  Clues?

One thing I tried was to map the IDL files into the C++ project as resource 
files.  But when I went to set up a custom build tool for them, I found that 
they had NO PROPERTIES and I couldn't do anything with them.  Surprise!

I could split the IDL files off into their own Maven project to package them 
in a Zip or some such, but how do I get the non-Maven C++ project to grab the 
archive and unpack it?  Separately, once I have the IDL files accessible to 
the C++ project, how do I get them compiled to C++ and those generated files 
included in building the native code?

CORBA IDL, C++, Java, all together: how?

mhwood 01/01/2013

CORBA IDL, C++, Java, all together: how?

mhwood 01/11/2013

CORBA IDL, C++, Java, all together: how?

mhwood 01/21/2013

Project Features

About this Project

CND was started in November 2009, is owned by DimaZh, and has 187 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20160708.bf2ac18). © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
Please Confirm