Hey
Frank Sauer wrote:
> Sounds like a good idea, but wouldn't the invokation from
> the helper class to the session bean cause a re-entrancy
> problem? Unless it's a stateless bean and the event is handled
> by another instance from the pool. If it's a stateful bean,
> how would this work?
The listen() thread just registers the helper with JMS, and after that
it returns. When the helper invokes the bean, which may be stateful or
stateless, there is no reentrancy because the initial call to listen()
have been finished for a relatively long time.
Disclaimer: untested, but I can't think of any theoretical reasons why
it wouldn't work...
/Rickard
--
Rickard �berg
@home: +46 13 177937
Email: [EMAIL PROTECTED]
http://www.dreambean.com
Question reality
===========================================================================
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".