Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Modernizing Oracle Tuxedo Applications with Python

You're reading from   Modernizing Oracle Tuxedo Applications with Python A practical guide to using Oracle Tuxedo in the 21st century

Arrow left icon
Product type Paperback
Published in Mar 2021
Publisher Packt
ISBN-13 9781801070584
Length 202 pages
Edition 1st Edition
Languages
Concepts
Arrow right icon
Author (1):
Arrow left icon
Aivars Kalvans Aivars Kalvans
Author Profile Icon Aivars Kalvans
Aivars Kalvans
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Preface 1. Section 1: The Basics
2. Chapter 1: Introduction and Installing Tuxedo FREE CHAPTER 3. Chapter 2: Building Your First Tuxedo Application 4. Chapter 3: Tuxedo in Detail 5. Chapter 4: Understanding Typed Buffers 6. Section 2: The Good Bits
7. Chapter 5: Developing Servers and Clients 8. Chapter 6: Administering the Application Using MIBs 9. Chapter 7: Distributed Transactions 10. Chapter 8: Using Tuxedo Message Queue 11. Chapter 9: Working with Oracle Database 12. Section 3: Integrations
13. Chapter 10: Accessing the Tuxedo Application 14. Chapter 11: Consuming External Services in Tuxedo 15. Chapter 12: Modernizing the Tuxedo Applications 16. Assessments 17. Other Books You May Enjoy

Reviewing the need for Python

As I am writing this book, Python is the third most popular language according to the TIOBE Programming Community index. Given current trends, it may surpass Java and secure second place by the time this book is published. The only other language more popular than Python and Java is C.

So why should you choose Python instead of C or C++, which is supported natively by Tuxedo? Well, Python is simply a more productive tool for writing application logic. Unlike C, Python comes with "batteries included" and contains tools and libraries for many tasks. If the libraries included are not enough, Python has standard tools to download and install open source libraries for the missing functionality.

Python is a dynamic language and has some problems because of its dynamic nature, but, at the same time, it makes Python code easier to test by using mocks for database access and Tuxedo service calls. The same mocking enables you to migrate code away from Tuxedo if you choose to do so. It serves as an abstraction layer on top of Tuxedo, isolating your code from some of Tuxedo's APIs.

Even if the application is written in C or COBOL, using Python is beneficial for testing and quality assurance. It can be used for building a quick prototype before implementing it in C. There are plenty of good reasons to give it a try.

Tuxedo already comes with Python support, but sadly, the SCA standard did not gain popularity and is considered dead. Nothing prevents you from using SCA, but that is another API to learn in addition to XATMI and it exposes fewer features than Tuxedo provides. We will use something that does not hide the powerful XATMI and Tuxedo's improvements on top of it.

There are several open source libraries for developing Tuxedo applications using Python. This book will use Python's tuxedo module for all examples, but many examples can be implemented with slightly outdated tuxmodule or tux_oracle modules as well. And since those are open source modules, you can always add missing functionality yourself.

You have been reading a chapter from
Modernizing Oracle Tuxedo Applications with Python
Published in: Mar 2021
Publisher: Packt
ISBN-13: 9781801070584
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime