For client programming languages other than Java, such as C++, the CORBA
architecture is often the only viable option for accessing enterprise beans.
Enterprise beans are available to CORBA clients through the CORBA programming
model as follows:
Even if a session bean has been coded to use only CORBA primitives as parameter
and return types, exception types are still returned as CORBA valuetypes.
If your CORBA client ORB does not support valuetypes, you will be forced to
work with unknown exceptions.
Note: It is not recommended to use
a Java CORBA client to an enterprise bean. Use RMI-IIOP instead.