You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by Tanmay Kumar <ta...@isd.nec.co.jp> on 2002/10/11 13:10:57 UTC

off topic

Hi all,

Currently apache SOAP is using java reflection APIs to invoke a method of
EJB.
Is there any negative side of using reflection to invoke an EJB method.
EJB spec says "the application server should deny
java.lang.reflect.ReflectPermission to EJBs."
But I think this is regarding using reflection API inside of EJB source
code. Is this right?

Please suggest me on this or any URL which I can refer for this design
consideration.

thanks,
Tans





Re: off topic

Posted by Scott Nichol <sn...@scottnichol.com>.
I believe your interpretation below is correct.  Calling an EJB through
reflection is fine and has a small performance penalty compared to the
fact that the call probably goes through RMI.  The EJB itself cannot use
reflection.

Scott Nichol

----- Original Message -----
From: "Tanmay Kumar" <ta...@isd.nec.co.jp>
To: <so...@xml.apache.org>
Sent: Friday, October 11, 2002 7:10 AM
Subject: off topic


> Hi all,
>
> Currently apache SOAP is using java reflection APIs to invoke a method
of
> EJB.
> Is there any negative side of using reflection to invoke an EJB
method.
> EJB spec says "the application server should deny
> java.lang.reflect.ReflectPermission to EJBs."
> But I think this is regarding using reflection API inside of EJB
source
> code. Is this right?
>
> Please suggest me on this or any URL which I can refer for this design
> consideration.
>
> thanks,
> Tans
>
>
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@xml.apache.org>
> For additional commands, e-mail:
<ma...@xml.apache.org>
>
>


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


Re: off topic

Posted by Scott Nichol <sn...@scottnichol.com>.
I believe your interpretation below is correct.  Calling an EJB through
reflection is fine and has a small performance penalty compared to the
fact that the call probably goes through RMI.  The EJB itself cannot use
reflection.

Scott Nichol

----- Original Message -----
From: "Tanmay Kumar" <ta...@isd.nec.co.jp>
To: <so...@xml.apache.org>
Sent: Friday, October 11, 2002 7:10 AM
Subject: off topic


> Hi all,
>
> Currently apache SOAP is using java reflection APIs to invoke a method
of
> EJB.
> Is there any negative side of using reflection to invoke an EJB
method.
> EJB spec says "the application server should deny
> java.lang.reflect.ReflectPermission to EJBs."
> But I think this is regarding using reflection API inside of EJB
source
> code. Is this right?
>
> Please suggest me on this or any URL which I can refer for this design
> consideration.
>
> thanks,
> Tans
>
>
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@xml.apache.org>
> For additional commands, e-mail:
<ma...@xml.apache.org>
>
>