CORBA example
-------------

There is no general build script in this directory because the build
process depends on your client side ORB. All code required by the
CORBAClient must be generated by your ORB's IDL compiler so that it
will work with your ORB's client runtime!

It is difficult and challenging to get CORBA clients working with EJB
components.  Not all application servers support it, and those who do
sometimes have funky IDL compilation steps. The generated code should
be cleanly separated from the manually developed code to avoid
overwriting it with generated files.

A lot of intricate scaffolding code is generated by the rmic and
idl-to-java compilers. Make sure that you use rmic -iiop -keep to
generate only the required IDL files and nothing else.

The rmic compiler sometimes generates code that is not strictly
compliant to the latest CORBA specs. If your ORB's IDL compiler
complains about illegal IDL, try to use compiler options that will
make it more permissive. JacORB's IDL compiler, e.g., has an option
'-permissive_rmic' specifically to accept flawed rmic-generated IDL.



