Skip to Main Content
Using REST APIs for data consistency with microservices spanning APEX apps

About This Workshop

Youtube Video

About This Workshop
With microservice based architectures, each microservice typically uses its own database. When a request spans multiple microservices, there’s a good chance it will run into a problem where two or more updates must succeed, or none do. Like if I send you money from my bank, but your account isn’t updated for some reason. Unfortunately, in the microservices world, local database transactions can’t span microservices. So how do you overcome the dual write problem?

With Oracle Transaction Manager for Microservices, or MicroTx you don’t have to worry about making sure all updates happen. It’s a workflow engine to ensure data consistency across microservices.

It takes on the burden of error handling and recovery so that the microservices and developers can focus on business logic and not on underlying technical issues. It keeps microservices consistent with each other, reducing complexity.

In this workshop, you will learn how to use MicroTx to maintain data consistency across multiple ORDS applications by deploying and running a Bank Transfer application. The Bank Transfer application is created in PL/SQL and deployed using ORDS in Oracle Database. MicroTx provides a transaction coordination microservice to maintain consistency in the state of various databases participating in a transaction.

Workshop Info

49 minutes

The hands-on lab will take you through the following steps:

Lab 1: Deploying Infrastructure with Resource Manager
Lab 2: Set Up the Environment
Lab 3: Set Up the ORDS Instances
Lab 4: Run the ORDS Apps to Transfer Funds

  • Familiarity with Database is desirable, but not required
  • Some understanding of cloud and database terms is helpful
  • Some understanding of PL/SQL, ORDS and APEX is helpful
  • Familiarity with Oracle Cloud Infrastructure (OCI) is helpful

Other Workshops you might like