Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

is MDB Muti-threaded

 
Mohammed Eesa
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a doubt whether Message-driven beans may be single-threaded or multi-threaded.
 
Dogra
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is upto the Container.
There is no Specification given in EJB2.0
 
Dilip Gamage
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I accept with Dogra.
But I could remember the spec MDB should be NON-REENTRANT It is responsibilty of Bean provider. (session beans as same).

Entity beans can be Both REENTRANT or NON- REENTRANT

REENTRANT- means Multiple Thread activity
NON-REENTRANT means Single Thread activity.

If you asking regarding to the exam.
It Should be single thread .. PLS refer MSG bean section of the Spec.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic