• 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.
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!