Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

HFEJB mock exam Q 49

 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a query regarding the following question from HFEJB mock exam.

Which are true about transactions in EJB 2.0?

A Only one database can be updated within a single transaction
B Entity beans with BMT demarcation must use the setStatus method instead of the setRollbackOnly method
C Entity beans with BMT demarcation must use the getStatus method instead of the getRollbackOnly method
D BMT demarcation should be used when beans access resource managers that do not support transactions
E The 'SessionSynchronization' interface can be used only by stateful session beans

I had chosen option E.

However the correct option given are C & E

I am puzzled about C, as entity beans are not supposed to use BMT.

Can someone please explain how option C can be considered correct ?

Regards,
Paresh Vernekar
 
Ranch Hand
Posts: 2023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This thread.
 
paresh vernekar
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Thanks for providing the links for this post as well as the previous one.

Regards,
Paresh Vernekar
 
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic