Book Image

Modernizing Oracle Tuxedo Applications with Python

By : Aivars Kalvans
Book Image

Modernizing Oracle Tuxedo Applications with Python

By: Aivars Kalvans

Overview of this book

Despite being developed in the 1980s, Oracle Tuxedo still runs a significant part of critical infrastructure and is not going away any time soon. Modernizing Oracle Tuxedo Applications with Python will help you get to grips with the most important Tuxedo concepts by writing Python code. The book starts with an introduction to Oracle Tuxedo and guides you in installing its latest version and Python bindings for Tuxedo on Linux. You'll then learn how to build your first server and client, configure Tuxedo, and start running an application. As you advance, you'll understand load balancing and work with the BBL server, which is at the heart of a Tuxedo application. This Tuxedo book will also cover Boolean expressions and different ways to export Tuxedo buffers for storage and transmission, before showing you how to implement servers and clients and use the management information base to change the configuration dynamically. Once you've learned how to configure Tuxedo for transactions and control them in application code, you'll discover how to use the store-and-forward functionality to reach destinations and use an Oracle database from a Tuxedo application. By the end of this Oracle Tuxedo book, you'll be able to perform common Tuxedo programming tasks with Python and integrate Tuxedo applications with other parts of modern infrastructure.
Table of Contents (18 chapters)
1
Section 1: The Basics
6
Section 2: The Good Bits
12
Section 3: Integrations

Preface

I started working with BEA Tuxedo version 8 in 2003 by writing code in the C programming language. Tuxedo seemed like a magical framework that just worked and enabled several teams to develop microservices (we called them components then) and integrate them into a single distributed system in the end. Despite being developed in the 1980s, Oracle Tuxedo still runs a significant portion of critical infrastructure and is not going away any time soon. Yet the API provided by Oracle Tuxedo is still based on the same C programming language. Developing business logic in the C programming language is overkill in 2021; we should be using better tools for that. For developer productivity, nothing beats Python.

After 17 years, I have developed my own mental model of Tuxedo by writing and debugging code every day. On one hand, it is on a level of abstraction higher than the Tuxedo API and I operate in terms of C++ and Python wrappers for the lower-level Tuxedo API. On the other hand, I dive below Tuxedo abstractions into UNIX operating system processes, message queues, and other UNIX APIs. For me, that explains the application behavior and quirks I have observed. I have also used the same approach when teaching new recruits about Tuxedo.

So, this book combines what I wish I knew when I started developing with Tuxedo and the programming language and library I wish I had in my toolbox. I hope it gives you a different viewpoint than the Tuxedo documentation does and makes your Tuxedo journey more pleasant.