www.it-ebooks.info
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
SALT – Service Arch<strong>it</strong>ecture Leveraging Tuxedo<br />
SCA client programming<br />
The following steps are needed to build an SCA client:<br />
1. Set up the client directory structure to define the physical representation of<br />
an application; refer to the root.compos<strong>it</strong>e file.<br />
2. Create the client application using a single API.<br />
3. Compose the SCDL descriptor to create a link between the local and the<br />
actual component.<br />
4. Build the client executable using buildscaclient.<br />
5. Execute the client while making sure that the APPDIR and SCA_COMPONENT<br />
variables are set.<br />
SCA component server programming<br />
The following steps are required for developing an SCA component program:<br />
1. Set up the component directory to define the physical representation of<br />
the application.<br />
2. Develop the component implementation.<br />
3. Compose the SCDL descriptor to define the binding between actual<br />
components and local implementation.<br />
4. Compile and link the components using buildscacomponent.<br />
5. Build the Tuxedo server host using buildscaserver.<br />
SCA transactions<br />
The ATMI binding schema supports SCA transaction policies by using the<br />
/binding.atmi/@requires attribute and the three transaction values Not<br />
Specified, suspendsTransaction, and PropagatesTransaction.<br />
The various important areas in SCA programming that developers would be<br />
interested in are Python and Ruby scripts and integration w<strong>it</strong>h Tuxedo SALT for<br />
more development advantage; for example, no compilation, dynamic data typing,<br />
and garbage collection. SALT provides a set of APIs to perform SCA calls from the<br />
Python or Ruby client, and language extensions to call Python or Ruby components.<br />
[ 122 ]<br />
<strong>www</strong>.<strong>it</strong>-<strong>ebooks</strong>.<strong>info</strong>