• 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

transaction context + MDBs question.

 
Ranch Hand
Posts: 290
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
A transaction can span multiple method calls on :

A - Entity bean instance

B - BMT Stateless SB instances

C - CMT Stateless SB instances

D - BMT Stateful SB instances

E - CMT Stateful SB instances

Answers: A, D e E.

OK, that's fine and what about MDBs ??

Since it can also be declared as Container(CMT) and Bean(BMT) in <transaction-type> tag in <message-driven> it can also span multiple method calls?

Tks ;-)
 
Ranch Hand
Posts: 123
Hibernate Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
MDBs are stateless, so the transaction should be completed in the method it started.
 
Steven Colley
Ranch Hand
Posts: 290
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Right NEO, then that means it cannot span multiple method calls!!!

Tks ;-)
reply
    Bookmark Topic Watch Topic
  • New Topic