Hi,
Christopher Cobb wrote:
>
> francis pouatcha wrote:
> > ...
> > > 5} Can a supporting class access a synchronized method of another class
> > > in the system??
> > No. Restrictions apply to beans and the transitive closure of all non
> > system classes they access. System classes defined here as classses that
> > are not packaged with the bean and that are written with respect to the
> > server implementation (i.e. same thread management concept).
>
> This would mean that a bean could never call a Vector, since all the
> methods on a Vector are synchronized. I think you are being too strict.
Yes. Using A java.util.Vector breaks this ejb restriction. I recomend
the use of new Java2 Collection classes. They are not synchronized by
default, and they perform better than Vector and Hashtable.
/Francis
--
[EMAIL PROTECTED]
MATHEMA Software GmbH
Nägelsbachstraße 25 b
91052 E r l a n g e n
D e u t s c h l a n d
Tel +49(0)9131/8903-0
Fax +49(0)9131/8903-55
http://www.mathema.de
===========================================================================
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".