Results 1 to 4 of 4

Thread: How to use jta transactionmanager J2EE

  1. #1
    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.

  2. #2
    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.

  3. #3
    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)

  4. #4
    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.

Similar Threads

  1. J2EE Authorization Model
    By visioneye in forum Software Development
    Replies: 5
    Last Post: 02-08-2010, 11:22 PM
  2. Installation J2EE 6 on Windows XP SP3
    By Maddy07 in forum Software Development
    Replies: 5
    Last Post: 23-07-2010, 11:54 PM
  3. Properties of a J2EE application
    By Aaliya Seth in forum Software Development
    Replies: 5
    Last Post: 07-02-2010, 01:17 AM
  4. The J2EE Application Has Not Been Deployed
    By Damien25 in forum Software Development
    Replies: 4
    Last Post: 05-02-2010, 01:34 AM
  5. What is EJB role in J2EE?
    By VinFanatic in forum Software Development
    Replies: 3
    Last Post: 12-09-2009, 09:07 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,933,601.49804 seconds with 16 queries