Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 10-08-2009
Member
 
Join Date: Oct 2008
Posts: 93
How to use jta transactionmanager J2EE

I wanted to develop web application, and the client requirements for their web applications falls under to use JTATransactionManager in their applications, this I found on internet that I need to use this manager, So please give me some more information about how to use it.
Reply With Quote
  #2  
Old 10-08-2009
Member
 
Join Date: Jan 2006
Posts: 181
Re: How to use jta transactionmanager J2EE

This is typically used to delegate to a J2EE server's transaction coordinator, but may also be configured with a local JTA provider which is embedded within the application. This transaction manager is appropriate for handling distributed transactions, i.e. transactions that span multiple resources, and for managing transactions on a J2EE Connector. I think you can take it up a level, so instead of using the "userTransaction" or "transactionManager from JNDI" depending on your situation.
Reply With Quote
  #3  
Old 10-08-2009
Member
 
Join Date: Feb 2008
Posts: 129
Re: How to use jta transactionmanager J2EE

Synchronization is also leveraged for transactional cache handling with Hibernate. Transaction synchronization is active by default, to allow data access support classes to register resources that are opened within the transaction for closing at transaction completion time. I have not used it with JBoss but it should work for you according to section 9.8 Application server-specific integration from the Spring reference manual.

public JtaTransactionManager(javax.transaction.TransactionManager transactionManager)
Reply With Quote
  #4  
Old 10-08-2009
Member
 
Join Date: Jan 2009
Posts: 150
Re: How to use jta transactionmanager J2EE

Transaction suspension (REQUIRES_NEW, NOT_SUPPORTED) is just available with a JTA TransactionManager being registered, via the "transactionManagerName" or "transactionManager" properties. For typical JTA transactions (REQUIRED, SUPPORTS, MANDATORY, NEVER), a plain JtaTransactionManager definition is all you need, completely portable across all J2EE servers.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to use jta transactionmanager J2EE"
Thread Thread Starter Forum Replies Last Post
J2EE Authorization Model visioneye Software Development 5 02-08-2010 11:22 PM
Installation J2EE 6 on Windows XP SP3 Maddy07 Software Development 5 23-07-2010 11:54 PM
Properties of a J2EE application Aaliya Seth Software Development 5 07-02-2010 01:17 AM
The J2EE Application Has Not Been Deployed Damien25 Software Development 4 05-02-2010 01:34 AM
What is EJB role in J2EE? VinFanatic Software Development 3 12-09-2009 09:07 AM


All times are GMT +5.5. The time now is 08:34 PM.