> > From: A mailing list for Enterprise JavaBeans development > > [mailto:[EMAIL PROTECTED]] On Behalf Of Dmitri Colebatch > > > its not juse unwise, its against the spec.... but thats not > > what you're asking... > > Aren't you reading the spec a little too litterally? It's forbidden to > spawn threads, but it doesn't mean the whole Thread API is banned. > Thread.sleep() is very harmless, I can't really see why a container > would disallow it.
I'm not going to argue with you, so yes, I am being overly literal there. But I would think that if an app server was to prevent calls to Thread.sleep then it would still be ok to be certified.... related to this is also the allowance to synchronously receive JMS messages, and if my memory serves me correctly there is mention somewhere of being careful not to wait too long when doing so.... getting very close to Thread.sleep yes? cheers dim =========================================================================== 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".
