1. Tuxedo

Set up Tuxedo 8.1 on a Solaris system, and start the stock quote example (under
the samples/atmi/xmlstockquote directory of the Tuxedo installation).
The instructions are included in the same directory. Then, configure the Tuxedo Work Station Listener to listen on port 8090.

Here's an outline of the relevant part of the ubbconfig configuration file.

2. Attunity Tuxedo J2EE CA Resource Adapter

The Attunity Connect solution consists of a J2EE CA resource adapter, an integration
engine (Attunity Connect Engine), and a design time environment (Attunity Connect
Studio). To set up the adapter, follow these steps:

Configure the integration engine to communicate with the Tuxedo installation by modifying the nav_login script. In this example, the WSNADDR
is set to point to: //localhost:8090

Define the interaction for invoking the stock quote Tuxedo service from the
EJB, and the data structures for the input argument and return type for the
interaction, using Attunity Connect Studio. The interaction is named STOCKQUOTE.
Its input argument is defined as a MappedRecord (as defined in
CCI) named Record1. Its return type is defined as a MappedRecord
named STOCKQUOTE_Response.

First, define a MappedRecord called Record1 for a new
interaction, which contains a single field of type String. Record1
is used as the input record for the interaction, as seen in Figure 2.

Figure 2. Defining MappedRecord Record1 using Attunity Connect Studio. (You can click on the screenshot to open a full-size view.)

Next, define the STOCKQUOTE_Response MappedRecord as the output record
of the new interaction. The Record1 field within STOCKQUOTE_Response
has the same structure as the Record1 record defined earlier (see Figure
3.)

Figure 3. Defining the STOCKQUOTE_Response MappedRecord. (You can click on the screenshot to open a full-size view.)

Then define the new STOCKQUOTE interaction (see Figure 4.)

Figure 4. Defining the STOCKQUOTE Interaction. (You can click on the screenshot to open a full-size view.)

Finally, deploy the Attunity resource adapter into OC4J using OC4J's deployment
tool, and configure the adapter to communicate with Tuxedo through Attunity Connect.
Do this by setting properties in the OC4J resource adapter-specific oc4j-ra.xml
configuration file. The following lists the properties you must set.

userName/password
The username and password of the user who started the Attunity Connect daemon process.

eisName
The name of the adapter as defined during design time (in this example, stockquote).