• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Question about bean-managed transactions

 
Ranch Hand
Posts: 757
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The question below is from the diagnostic exam of WhizLabs. (Question number 48).

Choose 1 incorrect statement about bean-managed transactions:

[A] Programmatic transaction demarcation is also called as bean managed transaction demarcation.
[B] In case of bean-managed transaction responsibility of transaction management is on bean provider while in case of container managed transaction demarcation responsibility is on EJB container and server provider.
[C] Javax.transaction.UserTransaction interface is used to demarcate bean-managed transactions.
[D] For bean managed transaction demarcation all resource manager access should happen between UserTransaction.begin and UserTransaction.commit



According to the WhizLabs, the correct answer is B, as that statement is incorrect.

Why is that statement is incorrect?
 
Ranch Hand
Posts: 383
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Maybe because it is the responsibility of an EJB container provider only?
 
Treimin Clark
Ranch Hand
Posts: 757
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Raf.
 
My favorite is a chocolate cupcake with white frosting and tiny ad sprinkles.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic