Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

reentrant tag

 
Celinio Fernandes
Ranch Hand
Posts: 549
Eclipse IDE Google Web Toolkit Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
is the tag in the deployment descriptor part of the exam ? Also, why methods in session beans can never be re-entrant ?
Quick reminder :
 
warren li
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From my understanding, the reentrant tag is used for multithreading. and in EJB case, the container will handle the threading, so it should be false.

Also, a session bean, stateful or stateless, while serving a client, is dedicated for that specific client only! Other client can't use it. so, the reentrant tag should be false. So is MDB's onMessage() method.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic