Transaction Processing Monitors represent an early type of middleware that is still widely used for performing distributed transactions involving multiple databases.
Usually TPMs employ the two phase commit protocol that ensures ACID properties (Atomicity, Consistency, Isolation, Durability) as in relational databases.