I am quite new to EJB.  There is a question I could not find answer from
the EJB spec. Could somebody out there give me some guide? How EJB handles
client timeout? For example, I have one stateless Session bean (Bean A) in
one container calling another stateless Session bean (Bean B) in another
container. If the Bean B container some how crashes or takes too long to
complete its execution, can Bean A get notified or timed out? I was
thinking the time-out value in Session bean descriptor can help, but
further reading the spec I realized that time-out value is used for
container to evict any non-active Statefull session bean. If I implement a
timer in Bean A, then I need to spawn thread, it is not allowed by the
spec. In my test, when Bean B enters a infinite loop, Bean A just hangs
there. Is anything I can do here?

Jie Hu
[EMAIL PROTECTED]

===========================================================================
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".

Reply via email to