Hi all

Is there a way that a SessionBean can timeout if one of its operations are
taking too long?

For instance, if I have a business method

public void doSomeThingForALongTime()
{
        blah();
        foo();
        veryLongProcessMethod();
        catchTheRat();
}

If veryLongProcessMethod() does not return after a fixed amount of time, can
the business method throw an exception or some thing?

Is there a way to do this?

- anand

Anand Kumar Sankaran

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