O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Getting Started with Oracle Tuxedo

Book Description

This is a crash course in developing distributed systems using Tuxedo and extending it to an SOA or cloud environment. Get to grips with administrative tools, Tuxedo APIs, the SALT component, and the Exalogic machine.

  • Master the Tuxedo architecture and its various important components and their functionalities
  • Get started with Tuxedo best practices and tuning guidelines
  • Understand the Exalogic machine and how to configure Tuxedo on it.

In Detail

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.

"Oracle Tuxedo: Quick reference guide" 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

  1. Getting Started with Oracle Tuxedo
    1. Table of Contents
    2. Getting Started with Oracle Tuxedo
    3. Credits
    4. About the Author
    5. About the Reviewers
    6. www.PacktPub.com
      1. Support files, eBooks, discount offers and more
        1. Why Subscribe?
        2. Free Access for Packt account holders
    7. Preface
      1. What this book covers
      2. What you need for this book
      3. Who this book is for
      4. Conventions
      5. Reader feedback
      6. Customer support
        1. Errata
        2. Piracy
        3. Questions
    8. 1. Getting Started with Tuxedo
      1. Introduction to the distributed client/server architecture using Tuxedo
        1. Some of the benefits of client/server technology
        2. The history of Tuxedo
        3. Tuxedo architecture and anatomy
      2. Installation of Tuxedo
        1. Hardware and software requirements
        2. Tuxedo installation components
        3. Installation procedures
          1. Graphical user interface (GUI) installation
          2. Console installation
          3. Silent installation
      3. Summary
    9. 2. Configuration and Administration of Tuxedo
      1. Tuxedo administration
        1. Responsibility of a Tuxedo administrator
        2. Configuring and setting up a Tuxedo application
          1. Environment variables
      2. Configuring and structuring a Tuxedo application
        1. The RESOURCES section
        2. The MACHINES section
        3. The GROUPS section
        4. The NETWORK section
        5. The SERVER section
        6. The SERVICE section
        7. The ROUTING section
        8. The NETGROUPS section
        9. Things to remember
      3. Tuxedo commands
        1. The buildclient command
        2. The buildserver command
        3. The buildtms command
        4. The tmloadcf command
        5. The tmboot command
        6. The tmshutdown command
        7. List of Tuxedo commands
      4. Monitoring and changing a Tuxedo application
        1. The command-line interface
        2. The Tuxedo MIB application programming interface
        3. Tuxedo System and Application Monitoring (TSAM)
          1. Installing TSAM
          2. Various administrative tasks using TSAM
          3. Using TSAM for monitoring – quick path
        4. The logfiles
      5. The important features of Tuxedo
        1. Security
        2. Data-dependent routing (DDR)
          1. Horizontally partitioned
          2. Rule-based servers
          3. Distributed applications
        3. Data encryption
        4. Data compression
        5. Load balancing
      6. Administering the Tuxedo queue (/Q)
        1. Configuration of resources for /Q
        2. Creation of queue space and queues
        3. Monitoring /Q
      7. The Tuxedo domain
        1. The domain configuration file
        2. The domain gateway server
        3. The domain administrative server
        4. Administrative tools for the domain
          1. Creating a domain transaction log
        5. A brief example of how to configure and run a Tuxedo domain
      8. Tuning the application
      9. Summary
    10. 3. Development of Tuxedo – Various APIs
      1. Introduction to the Application Programing Interface
      2. Developing a Tuxedo client
        1. Sample client code structure
        2. Compiling the native or workstation client
        3. Tuxedo client ATMI functions
      3. Developing a Tuxedo server
        1. Sample server code structure
        2. Advertising a service
        3. Tuxedo server ATMI functions
        4. How to compile a server
      4. Tuxedo buffer types
        1. The STRING buffer
        2. The CARRAY buffer
        3. The VIEW buffer
        4. The FML buffer
        5. The XML buffer
      5. Client/server communication paradigms
        1. Request/reply
        2. Conversational
        3. Queues (Tuxedo /Q)
        4. Event-based communication
      6. Transaction in Tuxedo
        1. The XA interface and two-phase commit
        2. Creating or initiating a transaction
        3. Tuxedo's transactional functions
        4. Tuxedo Transaction Log (TLOG)
      7. Summary
    11. 4. SALT – Service Architecture Leveraging Tuxedo
      1. Getting acquainted with SALT
        1. The SALT gateway (GWWS) and service metadata repository server
        2. WSDL utilities for SALT
        3. The SCA concept and Tuxedo service
      2. SALT installation
        1. GUI-based installation
          1. Installing on Windows
          2. Installing on Unix
        2. Console-based installation
        3. Silent installation
      3. Configuration of a SALT application
        1. SCA container APIs and utilities
          1. The buildscaclient command
          2. The buildscacomponent command
          3. The buildscaserver command
          4. The GWWS command
        2. Configuring the Tuxedo web services
          1. The UBBCONFIG file
          2. The Tuxedo service metadata repository
          3. Configuration of the native web services
          4. Configuration of external web services
          5. Compiling the SALT configuration
        3. Configuring SCA components
          1. SCA ATMI client configuration
          2. SCA JATMI client configuration
          3. SCA workstation client configuration
          4. SCA web service client configuration
          5. SCA ATMI server configuration
          6. SCA web service server configuration
          7. SCA client security configuration
        4. Configuring the service contract discovery
        5. Configuring the SALT WS-TX support
      4. Administration of SALT
        1. GWWS administration
          1. Tuning the GWWS server
            1. Thread pool size
            2. Network timeout control
            3. Maximum content length control
            4. Benefits of multiple GWWS instances
          2. Monitoring the GWWS server
          3. Browsing to the WSDL document from the GWWS server
        2. Administrating the SCA components
          1. Tracing the SCA ATMI server and client
          2. Monitoring the SCA servers
      5. SALT programming
        1. Web services programming
          1. Invoking Tuxedo services (inbound) through SALT
          2. Invoking external web services (outbound) through SALT
        2. SCA programming
          1. SCA client programming
          2. SCA component server programming
          3. SCA transactions
      6. Summary
    12. 5. Oracle Tuxedo Joining the Exalogic Family
      1. What is Exalogic?
      2. Tuxedo installation on an Exalogic machine
      3. Tuxedo configuration and runtime
        1. The UBBCONFIG file
        2. Tuxedo Socket Direct Protocol support
          1. The MP mode
          2. GWTDOMAIN
            1. Configuring GWTDOMAIN to listen on SDP
            2. Configuring GWTDOMAIN to connect using SDP
            3. Configuring GWTDOMAIN to listen on IPoIB
            4. Configuring GWTDOMAIN to connect using IPoIB
          3. The workstation listener (WSL)
          4. The workstation (/WS) client
          5. The jolt service listener (JSL)
          6. The WebLogic Tuxedo connector (WTC)
          7. Databases
          8. The EXALOGIC_MSGQ_CACHE_SIZE variable
      4. Running Oracle Tuxedo
        1. Start/stop tux_msgq_monitor
          1. Start tux_msgq_monitor
          2. Stop tux_msgq_monitor
      5. Summary
    13. Index