Marc San Soucie wrote:
> A client reference to a stateless session bean - obtained via a home lookup
> and subsequent create - ought to be good for some period of time. "Session
> timeout" seems like a good time interval specifier. But after that time,
> the reference should be cancellable, after which the client must either
> resolve a handle, "create" a new reference, or look up the home and
> "create" again.
Goodness; if I'm reading you right, I certainly hope not.
That is, this code had *better* work even when sleepInterval >
sessionBean.timeout:
sessionBean.foo();
Thread.currentThread().sleep(sleepInterval);
sessionBean.bar();
Thread.currentThread().sleep(sleepInterval);
sessionBean.baz();
Thread.currentThread().sleep(sleepInterval);
...or more precisely, assuming that the server is up all this time.
I know that the open source servers support this. I'd certainly pick
one of them over a commercial implementation that doesn't allow this!
Cheers,
Laird
===========================================================================
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".