Demonstration code for simple java distributed transactions using MySQL