Our application uses ODBC to communicate with a database (Both DB2 and Oracle, if it makes a difference), and delegates business logic to Java by way of JNI (So it uses Java and C).
What I'd like to know is what tools / software / libraries are needed to allow the business logic (Java/JDBC) and the application framework (C/ODBC) to participate in a two-phase commit protocol.
We run on Linux for this project, but generally support Solaris and Windows too, so multiplatform solutions are preferred.