Basic:
Numeric (integer, floating and fixed point, and enumerated). Characters and strings, including wide characters. Object references - handles to CORBA objects.
Complex:
Structures and unions, which parallel C/C++ structs and unions. Arrays - runtime fixed-length, possibly multi-dimensional stores of multiple data elements. Sequences - runtime variable-length stores of multiple data elements. "any" values store values of any data type, along with the type information necessary to make use of that data type. The upcoming CORBA 2.3 specification will add "object by value" capabilities, which will allow expressing much more complex data relationships such as graphs.
Bindings
Ada Java C Lisp C++ PL_I COBOL Python CORBA Scripting Language Smalltalk PHP CAML SWI-Prolog
Background information
http://en.wikipedia.org/wiki/CORBA http://www.cs.wustl.edu/~schmidt/corba-overview.html ORB/IDL diagrams http://www.iona.com/support/docs/orbix2000/1.2/pref_cpp/html/CORBAModule3.html#52 4375
AnySeq AttrDescriptionSeq AttributeDescription AttributeMode BooleanSeq CharSeq ConstantDescription ContainedSeq ContextIdentifier ContextIdSeq DefinitionKind DomainManagersList DoubleSeq EnumMemberSeq ExcDescriptionSeq ExceptionDefSeq ExceptionDescription Flags FloatSeq Identifier Initializer InitializerSeq InterfaceDefSeq InterfaceDescription InvalidPolicies ModuleDescription OctetSeq OpDescriptionSeq OperationDescription OperationMode ORBid ParameterDescription ParameterMode ParDescriptionSeq PolicyError PolicyErrorCode PolicyList PolicyType PolicyTypeSeq PrimitiveKind RepositoryId RepositoryIdSeq ScopedName ServiceDetail ServiceDetailType ServiceInformation ServiceOption ServiceType SetOverrideType ShortSeq StringValue StructMember StructMemberSeq TCKind TypeDescription ULongLongSeq ULongSeq UnionMember UnionMemberSeq UShortSeq ValueDefSeq ValueDescription ValueMember ValueMemberSeq ValueModifier VersionSpec Visibility WCharSeq WStringValue
C++ Definition
typedef unsigned char Boolean;
http://www.javacommerce.com/displaypage.jsp?name=idltypes.sql&id=18212
IDL Type boolean char wchar octet short / unsigned short long / unsigned long Java boolean char char byte short int
Numeric (integer, floating and fixed point, and enumerated). Characters and strings, including wide characters. Object references - handles to CORBA objects.
Complex
Structures and unions, which parallel C/C++ structs and unions. Arrays - runtime fixed-length, possibly multi-dimensional stores of multiple data elements. Sequences - runtime variable-length stores of multiple data elements. "any" values store values of any data type, along with the type information necessary to make use of that data type. The upcoming CORBA 2.3 specification will add "object by value" capabilities, which will allow expressing much more complex data relationships such as graphs.
http://www-itec.uni-klu.ac.at/~harald/corba/idldatattypes.html
IDL Construct module interface (non-abstract) interface (abstract) constant (not within an interface) boolean char, wchar octet package
Java Construct
signature interface and an operations interface, helper class, holder class signature interface, helper class, holder class public interface boolean char byte
string, wstring short, unsigned short long, unsigned long long long, unsigned long long float double fixed enum, struct, union sequence, array exception readonly attribute readwrite attribute operation
java.lang.String short int long float double java.math.BigDecimal class array class accessor method accessor and modifer methods method
Here is a sample IDL definition containing an array, a bounded sequence, and an unbounded sequence:
module ArrayModule { struct SomeStructure { long longArray[15]; sequence <boolean> unboundedBools; sequence <char, 15> boundedChars; }; };
mappings