Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6993579
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T19:46:57+00:00 2026-05-27T19:46:57+00:00

Is the complete programming of BMT based on UserTransaction interface? In other words, if

  • 0

Is the complete programming of BMT based on UserTransaction interface? In other words, if I want to use BMT, is there any scenario when I would require more services than those provided by the UserTransaction interface.

Why this question? If I use a different implementation of the transaction manager (such as Bitronix TM or Atomikos) and not the default provided by the container, is it just enough to inject the new TM into UserTransaction object?

-Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T19:46:58+00:00Added an answer on May 27, 2026 at 7:46 pm

    This is really limited to what the app server itself will allow; i.e. if it explicitly supports replacing the transaction manager.

    The real art to transaction management is the container registering transactional resources (DataSource connections, JMS Sessions, JPA EntityManagers, etc) with the TransactionManager via wrapping them with Synchronization objects and registering them with the current transaction via either the Transaction or the TransactionSynchronizationRegistry

    The container implements the Synchronization objects, the TransactionManager implements the Transaction and TransactionSynchronizationRegistry objects. The coordination between the two is what gives you actual management when a transaction is running.

    BMT and CMT are just alternate ways to tell the container to start/stop transactions. In some regards the term “Bean-Managed” is false as the UserTransaction in every compliant app server will be implemented by the container and thus it is still the container doing the work. As well “Container-Managed” is slightly misleading as it is still the bean developer deciding when transactions are started/stopped, it’s just done declaratively vs programmatically. The most accurate description of these features would be Programmatically-Managed Transactions and Declaratively-Managed Transactions. In all cases it is still the bean talking with the container and the container and transaction manager doing all the work.

    All that said it may still be possible for you to change the transaction manager, OpenEJB and TomEE support it, however it will not work in the way you are attempting. Check with your vender to see if this is possible.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Which programming language and tools can i use, to develope a complete stand-alone gui-application?
I'm a complete newbie to Windows and COM programming, trying to use com4j in
I am reading Code Complete as well as a couple of other programming books
Since there's no complete BPM framework/solution in ColdFusion as of yet, how would you
I am a complete beginner to Python or any serious programming language for that
I have created a turing-complete programming language (already proven) so it must be possible
As a complete beginner with no programming experience, I am trying to find beautiful
I'm a complete beginner when it comes to programming. I'm taking a stab at
In the book 'Code Complete' the author talks about programming into a language (instead
I'm looking for a complete list of security guidelines for programming and deploying PHP

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.