• Post Reply Bookmark Topic Watch Topic
  • New Topic

reentrant tag  RSS feed

 
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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!