Hi, The answer is depends on the type of bean you are trying to access.
Stateful Session Beans do not allow concurrent access and will throw either a Remote or EJBException if you try it. Stateless session beans however do allow concurrent access as the container will just direct your request to another instance of the bean in the pool (see section 7.5.6 of the spec). As for entity beans current transaction access is also supported (see 10.5.10 of the spec). How this is implemented depends of the container. David --- "Sabari Arasu (CTC)" <[EMAIL PROTECTED]> wrote: > Is multithreading of calling different EJBs from one > servlet is possible? If > we can, please send me a snippet for the same or > idea behind that. If not > please tell me why we can't do it? > > Thanks and Regards, > Sabari Arasu > > =========================================================================== > To unsubscribe, send email to [EMAIL PROTECTED] > and include in the body > of the message "signoff EJB-INTEREST". For general > help, send email to > [EMAIL PROTECTED] and include in the body of the > message "help". > ===== David J. Jones, <[EMAIL PROTECTED]>, Virgin Mobile USA, 8th Floor, 22 Fourth Street, San Francisco, CA, 94103, Work: 415 932 5470. USA. Fax: 415 358 4999. __________________________________________________ Do You Yahoo!? Check out Yahoo! Shopping and Yahoo! Auctions for all of your unique holiday gifts! Buy at http://shopping.yahoo.com or bid at http://auctions.yahoo.com =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
