As far as I know, there are no books that specifically analyze the
source code for Struts 2. I would suggest starting by reading the
source code to Xwork. To really get a handle on what is going on,
first try to get a solid understanding of the command pattern design
pattern. Then, take a look at the xwork source to see how it is
implemented there. Once you feel comfortable at that level, take a
good look at the Servlet and JSP specifications. Then you can take a
look at the source for Struts 2. It also wouldn't hurt to take a look
at Google Guice. Although we aren't using Guice, we branched it early
on and have been using it for internal dependency injection (both in
Xwork and in Struts 2).

As you get further along, feel free to post questions on the
d...@struts.apache.org list.

-Wes

On Wed, Oct 28, 2009 at 3:09 AM, mark lu <liujuns...@ygsoft.com> wrote:
>
> I want to read struts2's source code,but i found it's too complicated.
> so,i want to find a book that analysis the soure code.
> who can give me some suggestions?recommend some books to me?
> thanks very much!!
> --
> View this message in context: 
> http://www.nabble.com/read-the-source-code-tp26090230p26090230.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@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-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to