15:49 / 7-3-2001

   Loic,

   can you point me in a direction where i can read this (possibly
   specs), the reason for my questions is that our supplier has
   delivered helper-classes with threads into the classes. We use
   those helper classes and we have some very strange problems !

   Thanks for your help


   groeten / regards,
   Marco Pas
   CMG Trade, Transport & Industry B.V.

--------------------------------------------

lccc> Marco,

lccc> A regular java object called from an EJB must comply
lccc> to the EJB specifications. Now, an RMI or Corba service,
lccc> is not a regular java object and, as long as it live outside
lccc> of your EJB container, you can handle threads.

lccc> Loïc

>> ----------
>> From:         Marco Pas[SMTP:[EMAIL PROTECTED]]
>> Reply To:     Marco Pas
>> Sent:         Wednesday, March 07, 2001 15:07
>> To:   [EMAIL PROTECTED]
>> Subject:      Helper classes ?
>>
>> 15:03 / 7-3-2001
>>
>>
>>    I am a little confused, in the EJB specs it states that within the
>>    EJB container it is never allowed to use threads.
>>
>>    BUT....
>>
>>    When a write a helper class, that is used by an EJB's (so no actual
>>    part of the EJB code). And this helper class makes use of threads,
>>    can you state that the helper class runs in the EJB container or
>>    not ? Is this allowed ?
>>
>>    May i use threads in helper-classes ?
>>    Is the helper class managed by the EJB container ?
>>
>>    Could anyone shed some light in this ?
>>
>>    groeten / regards,
>>    Marco Pas
>>
>> ==========================================================================
>> =
>> 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".
>>


lccc> Visit us at http://www.clearstream.com
lccc> Check out current job vacancies at 
http://www.clearstream.com/public/english/e_vacs.htm

lccc> IMPORTANT MESSAGE

lccc> Internet communications are not secure and therefore Clearstream International 
does not
lccc> accept legal responsibility for the contents of this message.

lccc> The information contained in this e-mail is confidential and may be legally 
privileged. It is
lccc> intended solely for the addressee. If you are not the intended recipient, any 
disclosure,
lccc> copying, distribution or any action taken or omitted to be taken in reliance on 
it, is
lccc> prohibited and may be unlawful. Any views expressed in this e-mail are those of 
the
lccc> individual sender, except where the sender specifically states them to be the 
views of
lccc> Clearstream International or of any of its affiliates or subsidiaries.

lccc> END OF DISCLAIMER

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