![]() |
The WebSphere CORBA valuetype library for C++ is designed to use a single code base to support multiple vendor ORBs. In the first implementation, the valuetype library supports the WebSphere C++ ORB, but in future implementations it is intended to extend the library to support multiple vendor ORBs.
Because there are official OMG specifications for mapping from Java to IDL and from IDL to C++, there are very small differences among the generated C++ bindings from various vendors. For example, for a valuetype in the WebSphere C++ ORB, the default implementation subclass name is the same as the abstract base class name but in a different name space OBV_java::jang. However, in the VisiBroker ORB, the default implementation subclass name is the abstract class name prefixed with “OBV_” for each valuetype class. Therefore, in order for the valuetype library to support the VisiBroker ORB, the concrete implementation subclasses need to inherit from the default implementation classes with different names.