This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Non-EJB java code using a JTS compliant Transaction Manager Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Non-EJB java code using a JTS compliant Transaction Manager" Watch "Non-EJB java code using a JTS compliant Transaction Manager" New topic
Author

Non-EJB java code using a JTS compliant Transaction Manager

Alok Pota
Ranch Hand

Joined: Mar 07, 2001
Posts: 185
Application servers I think have a built in Transaction Manager that is JTS compliant. But you are forced to use Entity/Session beans inorder to use the JTS API's. Is it possible to have non-ejb java code to use the JTS API and have the transactions propogated?
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Yes that is possible, take a look at UserTransaction of JTA
 
Don't get me started about those stupid light bulbs.
 
subject: Non-EJB java code using a JTS compliant Transaction Manager