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)

Developing a Tuxedo server


We discussed the Tuxedo client in the previous section and now we'll discuss how to develop a Tuxedo server for a client's request or for other servers that call a server to get some work done and finally return it to the client. The Tuxedo server provides services (business functions) to the client or other servers. It starts the process as it gets the request and replies back to its caller. A service must be made known (advertised) in such a way that another client or server can call it.

The servers are started when a Tuxedo application is booted (tmboot), and they do the following two things:

  • tpsvrinit(), which is a callback function, is called after the server is connected to an application, but before processing any application request. If an XA resource manager is being used with the server, tpopen() connects to the resource manager using OPENINFO from the UBBCONFIG file.

  • The server registers itself with a Bulletin Board as available for processing any request...