Since you are trying to simulate. You can use this method even though its
against the practise. It depends on your Appserver if it allows or not. You
can then remove it after  testing.

Thanks
Ashwani


----- Original Message -----
From: "Jay Wright" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 24, 2002 9:55 AM
Subject: Thread.sleep()


> So, can you use Thread.sleep() in an EJB container or even a servlet
> container?  I realize that it's unwise to do threaded programming in these
> environments, but I'm unclear on whether or not Thread.sleep() is safe or
> not.
>
> More specifically, I wanted to throw it in a Message Driven Bean for some
> performance testing (simulating long method calls).
>
> Jay
>
>
===========================================================================
> 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".
>
>

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