Discussion:
[omniORB] omniidl help
Graf László
2012-09-23 11:06:58 UTC
Permalink
Hi,

This is my first attempt to use omniorb to connect a C++ client to an
EJB3 stateless session bean.
The bean used by other J2EE components and the containing EAR was
deployed into a JBoss 5.

The IDL files are in a folder structure like

${HOME}
/idl
/my
/ejb
/intf
IKiadasokBeanLocal.id
IKiadasokBeanRemote.id
KiadasokBean.id
/java
...
/javax
...
/org
...

How should I call the omniidl to compile all my IDLs without specifying
one by one all IDL files?
Thank you.

---
grafl
Duncan Grisby
2012-10-09 09:47:36 UTC
Permalink
Post by Graf László
This is my first attempt to use omniorb to connect a C++ client to an
EJB3 stateless session bean.
The bean used by other J2EE components and the containing EAR was
deployed into a JBoss 5.
The IDL files are in a folder structure like
[...]
Post by Graf László
How should I call the omniidl to compile all my IDLs without specifying
one by one all IDL files?
You can't tell omniidl to do that directly. Your best bet would be to
concatenate them all together.

That said, I think that once you've got past that hurdle, you'll find
that the IDL is all invalid. The IDL generated by the Java2IDL tool
isn't actually valid IDL. In my experience, it's not actually possible
to talk to Java beans via standard CORBA.

Duncan.
--
-- Duncan Grisby --
-- duncan at grisby.org --
-- http://www.grisby.org --
Loading...