It's in the specs. They're really worth reading. See ejb 1.1 specs at
section 18.1.2
Ashish Kalra wrote:
> Thanks Chris.
>
> Can you please elaborate a little on why it should not be done, or tell me
> of some source from where I could gain this knowledge.
>
> Thanks again,
> -ashish
>
> -----Original Message-----
> From: Bono, Chris [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, January 05, 2001 10:38 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Thread on the EJBServer
>
> Ashish,
> I am not familiar w/ JBoss but one thing I do know is you should not
> be
> starting a thread from an ejb
>
> Chris
>
> >>>The thread is started through static code in one
> >>>of the beans.
>
> -----Original Message-----
> From: Ashish Kalra [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 05, 2001 6:37 AM
> To: [EMAIL PROTECTED]
> Subject: Thread on the EJBServer
>
>
> I need a thread on the EJB Server which needs to keep doing some
> background
> processing all the while. This thread is another class which from
> time to
> time should be able to access a bean and invoke its method. I am
> trying to
> get reference to the Home Interface by using look up with the
> Initial
> Context. I get a ClassNotFoundException which says that the Home
> class for
> the Bean could not be found. This thread class and Bean are in the
> same jar
> in Jboss's deploy folder. The thread is started through static code
> in one
> of the beans.
>
> Any help will be greatly appreciated.
> Thanks,
> -ashish
>
>
> ===========================================================================
> 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".
>
> ===========================================================================
> 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".