[omniORB] omniorb, C++ and java question

Jason Stelzer jstelzer at healthmarketscience.com
Thu Jun 28 13:26:02 BST 2007


On Jun 28, 2007, at 11:48 AM, Jason Stelzer wrote:

>
> On Jun 28, 2007, at 11:35 AM, Hervin, Paul wrote:
>
>> Hi,
>>
>> There is no problem in writing an IDL, then compiling it with idlj  
>> for the java part and compiling it with omniidl for the C++ part.
>>
>> Regards
>> Paul
>>
>>
>
> Yes, its looking more and more like I'm going to have to do that. I  
> was hoping that this approach would work.
> http://java.sun.com/j2se/1.4.2/docs/guide/rmi-iiop/interop.html#31647
>
> Once I realized that rmic has no idea about annotations and wrote  
> an old style ejb, the idl generated became much closer to what I  
> need. But, there are still a few hopefully minor issues.
>
>

Well, thanks to the mighty power of google and narrowing down the  
right questions to ask, here's the 'answer' to my current problems.

Straight from sun:

"Modify the generated IDL files such as the EJBs, helper classes, and  
third-party classes corresponding to the application.
The generated IDL files do not compile directly. You need to manually  
modify the IDL files for generating a CPP file. The list below  
explains the situations when you need to modify the IDL files:"


http://docs.sun.com/source/817-0462-10/dccpp.html

At least it wasn't me doing something wrong. The tools are just broken.

Thanks for the insights.

--
J.





More information about the omniORB-list mailing list