Programming with Enterprise JavaBeans, JTS, and OTS: Building Distributed Transactions with Java and C++