Simplified some of examples so they have fewer dependencies on jboss and JTA as a whole.