The spec restricts only read/write static fields. static methods and static
final fields are allowed. I think this restriction applies to all the helper
classes also.

Lam

Ron Yust wrote:

> Richard,
>
> Does the spec mean no static methods/data in the EJB bean only or no static
> items in ANY other java class the bean accesses?  For example, could a
> session bean access a static variable in a class outside the bean?
>
> -Ron
>
> > -----Original Message-----
> > From: A mailing list for Enterprise JavaBeans development
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Rickard �berg
> > Sent: Tuesday, October 26, 1999 10:52 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: EJB Restrictions-- threads, io
> >
> >
> > Hey
> >
> > Steve Roth wrote:
> > > I forgot to mention the most important restriction I've seen-- no static
> > > methods/data members
> > >
> > > Can U have static methods/data members?
> >
> > No. This is strictly fobidden, for good reasons. See archive for
> > details: http://archives.java.sun.com/archives/ejb-interest.html
> >
> > /Rickard
> >
> > --
> > Rickard �berg
> >
> > @home: +46 13 177937
> > Email: [EMAIL PROTECTED]
> > Homepage: http://www-und.ida.liu.se/~ricob684
> >
> > ==================================================================
> > =========
> > 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".

Reply via email to