Book Image

Getting Started with Oracle Tuxedo

Book Image

Getting Started with Oracle Tuxedo

Overview of this book

The client server or Tuxedo has existed for the past few decades and it is expanding every day! Today, Service Oriented Architecture (SOA) or Service Component Architecture (SCA) are considered to be the new approaches to build client server architecture, Tuxedo adopts this concept and can be extended very easily. "Getting Started with Oracle Tuxedo" shows how to develop distributed systems using Tuxedo and extend that to SOA or even a Cloud environment. The primary objective of this book is to show how to develop distributed systems using Tuxedo and extend that to a SOA environment. It also gives fundamentals of Exalogic machines and how Tuxedo application can leverage these new high end machines for enterprise needs. This book introduces you to the client server technology and how it has evolved in past decades. The book also covers various Tuxedo installation procedures, hardware and software requirements, and then how to configure Tuxedo application, all parameters with their syntax and relevant values. You will be introduced to various Tuxedo administrative tools, which are very important for a Tuxedo Administrator to perform his daily work, and with tuning suggestions and best practices. Next comes, Tuxedo APIs to build your applications, combining client and server modules. The book then covers the SALT component, which allows external web service applications to invoke Tuxedo services, and similarly Tuxedo applications can invoke external web services. At the end we discuss briefly the Exalogic machine and its architecture and how to configure and deploy Tuxedo application in this environment.
Table of Contents (12 chapters)

Tuxedo buffer types


The Tuxedo-based application is a message-driven application, and these messages can use different types of buffers. In this section, we will be focusing on all five types of buffers. Tuxedo supports STRING, VIEW, CARRAY, FML, and XML. All these buffer types can be transmitted over a network within heterogeneous systems. The Tuxedo system handles translations and data conversions between machines with different operating systems.

The STRING buffer

This is the most simple type of buffer with a string of characters. It has a null-terminated string. This buffer cannot be used for data-dependent routing. tpalloc() can be used to allocate the STRING buffer with the desired length. The following code snippet helps you with allocating the STRING buffer type:

char *stringPtr;
 . . .
stringPtr = tpalloc("STRING", NULL, 0);

The CARRAY buffer

This is another simple form of buffer that is basically used to transmit binary data. The Tuxedo system does not interpret the character of the...