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

simply specify how to set for ejb

 
Timber Lee
Ranch Hand
Posts: 157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. how to specify how many instances to pool at deployment time?
2. how to specify the limited time within which a CMT bean transaction must finish?
3. how to specify the limited time within which a BMT bean transaction must finish?
4. how to specify state timeout for stateful EJB, stateless EJB and entity EJB?
 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It depends on which app server you are using. Most of them allow such information to be defined in properties file that will be used at runtime.
For BMT you can call setTransactionTimeout() on the UserTransaction instance.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic