you dont need jpa to try out transaction related examples. you can check ivan krizan's notes. there are examples of transactions but they dont involve resource managers (database, jms). but they do give you idea about various transaction constructs available in CMT and BMT. you can try google or you can expand on ivan's example whereby you try updating a database, sending message to jms in various transaction scopes. and if you dont forget to post it here for others .
Quick! Before anybody notices! Cover it up with this tiny ad: