Hi Dave

I thank you for your insight.

I agree with you  that all the restrictions placed are for our benifit. But i
surely would like to know what those restrictions are! These were problem we
faced in our project.....esspecially in the the "findamental" package access. so
please consider the questions and if it too hard for you to put it down in a doc
please give me a some documents (url's) to refer to.

Once again, Thank you

arava

Dave Wolf wrote:

> Arava,
>
> I dont plan to re-open the can of worms about what you can and cannot do in
> relation to restrictions placed in section 18.1.2 of the EJB 1.1
> specification.  I will only say that these restrictions exist to allow for
> portability of your EJB's across multiple vendors containers and if this is
> a requirement or need, you should avoid these restrictions completely.  If
> it is not a need, proceed at your own discretion.
>
> As for the IllegalAccessError this is likely caused by a ClassLoader
> conflict where one class is being loaded by a custom ClassLoader and another
> by the system ClassLoader.  You will have to ask your container vendor how
> they handle this.
>
> <vendor>
>
> For instance in Sybase EAServer we allow you to list for each bean which
> classes, packages or JARs should be loaded by which the system or custom
> ClassLoader.
>
> </vendor>
>
> The issue is that two classes loaded by differing ClassLoaders are
> incompatable.
>
> Dave Wolf
> Internet Applications Division
>
> ----- Original Message -----
> From: "arava" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, November 16, 2000 5:58 AM
> Subject: EJB Questions!
>
> > Hi
> >
> > I have a some Questions . Could somebody kiindly clarify?
> >
> > To begin with let me define the terms used in the questions.
> >
> > A} Supporting class --- A Utility class in the same package as the BEAN
> > class
> >
> > B} "class in the system"--A Utility class in the same package as the
> > BEAN class and the supporting class
> >
> > The Questions are:
> >
> > 1} Can you call a static method of a supporting class from your Bean
> > class ?
> >
> > 2} can your supporting class call a static method another class in the
> > System??
> >
> > 3} Should the  methods of the supporting class be PUBLIC ONLY or can
> > they have PACKAGE visibility??
> >
> > 4} can your bean access a synchronized method of a supporting class?
> >
> > 5} Can a supporting class access a synchronized method of another class
> > in the system??
> >
> > For some of the above problems I am getting IllegaAccessError.
> >
> > could you kindly clarify these !
> >
> > I thank you in anticipation
> >
> > Thank you
> > Arava
> >
> >
> ===========================================================================
> > 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