When we can use TxDataSource instead of Datasource?

If your application  (or) environment meets the following criteria you should use
  • Uses JTA
  • Uses EJB container in web logic server to manage transactions.
  • Includes multiple database updates with single transaction.
  • Access multiple resources, such as database & JMS during transactions.
  • Use same connection pool on multiple servers.



Enter your email address to get our daily JOBS & INTERVIEW FAQ's Straight to your Inbox.

Make sure to activate your subscription by clicking on the activation link sent to your email