Hi ,

We have to design an application server which accesses number of subsystems( 4 -to
be precise).
We have a lot of restrictins on the access of the subsystems ...to quote one for
example though our application server is multithreaded and can cater to a lot of
concurrent requests but

Cedric Beust wrote:

> > From: A mailing list for Enterprise JavaBeans development
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Christopher Cobb
>
> > > > 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.
>
> Agreed. The restrictions only apply to business methods of the bean (there are
> some additional restrictions regarding Collections and Vectors in the 2.0
> specification, but that's a different story).
>
> --
> Cedric
>
> ===========================================================================
> 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".

Reply via email to