|
IDL Connectivity Bridges: Using Java Objects in IDL |
|
When data moves between IDL and a Java object, IDL automatically converts variable data types.
The following table maps how Java data types correlate to IDL data types.
The following table shows how data types are mapped from IDL to Java.
When calling a Java method or constructor from IDL, the data parameters are promoted as little as possible based on the signature of the given method. The following table shows how data types are promoted within Java relative to IDL.
| Note When strings and arrays are passed between IDL and Java, the array must be copied. Depending upon the size of the array, this copy may be time intensive. Care should be taken to minimize array copying. |
IDL Online Help (March 06, 2007)