You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Nuwan Arambage <nu...@gmail.com> on 2011/02/07 05:21:31 UTC
Struts2 Internals
Hi all,
When I see the architecture of the Struts2 , there is a ActionProxy
class. So my question is this, which method struts framework used to
implement ActionProxy class. It is a Java Dynamic proxy API or another
code generation library.
Thanks & Regards,
Nuwan Arambage
--
Fail again. Fail better
With Regards ,
Nuwan Arambage
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Struts2 Internals
Posted by Wes Wannemacher <we...@wantii.com>.
Action class instances (and views and interceptors) are instantiated
via reflections. JDK proxies would require that all actions need to
implement a specific interface, which, although suggested, is not a
requirement. Execution is done with reflections as well, if I remember
correctly.
-Wes
On 2/6/11, Nuwan Arambage <nu...@gmail.com> wrote:
> Hi all,
> When I see the architecture of the Struts2 , there is a ActionProxy
> class. So my question is this, which method struts framework used to
> implement ActionProxy class. It is a Java Dynamic proxy API or another
> code generation library.
>
> Thanks & Regards,
> Nuwan Arambage
>
>
> --
> Fail again. Fail better
>
> With Regards ,
> Nuwan Arambage
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
--
Wes Wannemacher
Head Engineer, WanTii, Inc.
Need Training? Struts, Spring, Maven, Tomcat...
Ask me for a quote!
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org