4.4.2 Using the CARRAY Buffer Type
The CARRAY buffer type is a simple character array buffer type that is built into the Oracle Tuxedo system. Because the system does not interpret the data (although the data type is known) when you use the CARRAY buffer type, you must specify a data length in the Jolt client application. The Jolt client must specify a data length when passing this buffer type.
For example, if an Oracle Tuxedo service uses a CARRAY buffer type and the user sets a 32-bit integer (in Java the integer is in big-endian byte order), then the data is sent unmodified to the Oracle Tuxedo service.
To use the CARRAY buffer type, you first define the Tuxedo service that you will be using with the buffer type. Then, write the code that uses the buffer type. The next two sections demonstrate these steps.
Note:
X_OCTET is used identically to CARRAY.