Results 1 to 3 of 3

Thread: TransactionManager and BMT

  1. #1
    Join Date
    Sep 2004
    Posts
    5

    Default TransactionManager and BMT

    Hi,

    I'm developing some MDBs with bean managed transaction. I would like to use a more fine grained transaction control for the beans used in this MDB.
    Is it possible to use JtaTransactionManager within an BMT bean? I tested in JBoss using UserTransaction and TransactionManager, and it only worked if I specify only the transaction manager, setting usertransaction to null in the JtaTransactionManager definition.

    I would like to know if this setup is accepted by the EJB standard (use TransactionManager inside BMT bean).

    Thanks,
    Robson

  2. #2
    Join Date
    Aug 2004
    Location
    San Mateo, CA
    Posts
    1,265

    Default

    Using JtaTransactionManager is perfectly legal in a BMT bean. It does not violate anything in the J2EE specs: it simply uses the UserTransaction interface that is available to bean developers according to the J2EE specs.
    Rod Johnson - GM, SpringSource Division, VMware
    http://www.springsource.com
    Spring From the Source

  3. #3
    Join Date
    Sep 2004
    Posts
    5

    Default

    The use of UserTransaction via JNDI lookup isn't forbbiden by the spec?
    Also, I'm interested in the advanced features, such as transaction suspend/resume (which are provided by TransactionManager).

    Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •