Evan Ireland wrote:
>
> Ian McCallion wrote:
>
> > ...
> >
> > EJBHomes are not thread-safe.
>
> Can you provide us with a reference to back up this statement
> (or are you assuming they are not thread-safe in the general
> case because the spec does not say they are thread-safe)?

No reference I'm afraid, but I know from practical experience that JBOSS's
EJBHome objects (specifically those it provides to the Tomcat servlet container)
are definitely not thread-safe. Since as you say, the spec is silent on the
subject, JBOSS is not in violation of the spec, so a portable client must
synchronise.

Incidentally, the "feels" right to me also, as client programs expect to have to
deal with the consequences of multithreading if they use it.


========================================
Ian McCallion
Alexis Systems Limited
Romsey, UK
Tel: +44 1794 514883
Fax: +44 1794 501692
========================================

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