Hi volk,
That my remark after have read this thread.
-> <Rickard> Load balancing should be transparant to the client.
-> <Marc> The Session Beans timeout has been removed from the spec. But servers
could still implement it. Portable client may thus avoid thinking in term of
timeout.
-> A proposal for writing portable client code:
// get the stateless session bean reference
ssession = ...
try {
//use the session
...
// catch the rmi exception (session might have been discardet or the server
might
// have crached)
} catch ( NoSuchObjectException ex ) {
// get another reference and retry
ssession = ...
...
} // catch application exceptions
Regards.
Francis.
http://www.mathema.de
===========================================================================
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".