Hi,

On Sun, Oct 20, 2013 at 5:35 PM, Farrukhjon SATTOROV (farrukh) <
[email protected]> wrote:

> Hi everyone. I'm interesting how wicket farmework work under the hood, for
> example class colling sequence or steps by web server (tomcat):
> webserver->deploy->war->WicketFilter->WebApplication ? Thanks an advance.
>

Wicket is Servlet based web framework.
To run a servlet based app you need to package it in .war file. When
deployed in any web container (like Tomcat) the container will read
WEB-INF/web.xml to initialize the application. During the initialization
WicketFilter#init() method is called where WebApplication class is
instantiated. With simple words the WebApplication class is the
configuration object of the application.
Later when a http request comes WicketFilter#filer() method will ask the
WebApplication to process it. The WebApplication creates WebRequest,
WebResponse and RequestCycle instances that are available for the
application to read/write data from/to the client.

Reply via email to