Hey Nitin Sood wrote: > Can one use threads in a business method of an EJB. For example, can I > have the following peice of code inside a business method. > > Thread thread1 = new Thread(instance1); > Thread thread2 = new Thread(instance2); > > thread1.start(); > thread2.start(); Nope, not allowed. Correctly implemented servers wont let you. Do it outside of the bean. /Rickard =========================================================================== 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".
- Container Managed Bean Advantages ? Manisha Umbarje
- Re: Container Managed Bean Advantages ? Rickard �berg
- Re: Container Managed Bean Advantages ? Kishore Kumar
- Re: Container Managed Bean Advantages ? Wei Jiang
- Re: Container Managed Bean Advantages ? Constantine Plotnikov
- Re: Container Managed Bean Advantages ? Chaganthi, Madhusudan R.
- EJB and threads Nitin Sood
- Re: EJB and threads Rickard �berg
- Re: EJB and threads Evan Ireland
- Re: EJB and threads Rickard �berg
- Re: EJB and threads Nitin Sood
- Re: EJB and threads Nitin Borwankar
- Re: EJB and threads Harish Prabandham
- Re: Container Managed Bean Advantages ? Rickard �berg
- Re: Container Managed Bean Advantage... Inderjeet Singh
- Re: Container Managed Bean Advantages ? Maron, Jonathan
- Re: Container Managed Bean Advantages ? nishi
- Re: Container Managed Bean Advantages ? Nishi Nidamarty
