An example configuring a new J2C resource factory follows:
Using Jacl:
set newra [$AdminConfig getid /Cell:mycell/Node:mynode/J2CResourceAdapter:RAR1/]
An example of this output follows:
RAR1(cells/mycell/nodes/mynode:resources.xml#J2CResourceAdapter_1)
Using Jacl:
$AdminConfig required J2CConnectionFactory
An example of this output follows:
Attribute Type name String
Using Jacl:
set name [list name J2CCF1] set j2ccfAttrs [list $name]
Using Jacl:
$AdminConfig create J2CConnectionFactory $newra $j2ccfAttrs
An example of this output follows:
J2CCF1(cells/mycell/nodes/mynode:resources.xml#J2CConnectionFactory_1)
Using Jacl:
$AdminConfig save