title: Migrate old JDBC program to use XA
body: <p>What would I need to do if I want to migrate a program that is using old JDBC interfaces to support XA? I mean detail steps I need to do in the code.
  The program is running on a single DB but the new features require to introduce a new schema and some old features need to support transactions across 2 schemas. We are using JBOSS.
  What is the minimum set of steps to migrate this?
  Thanks.</p>