252014Jul

Process Steps When We Deploy Any Web Application On Server

When we are creating and deploying any web application on server, the following tasks happened on server side.

Step 1:- web.xml parsed by using SAX Parser and stores in to memory.

Step 2:- ServletContext object will be created and initialized by sevletContext parameter specified in web.xml.

<context-param>………</context-param>

Step 3:- Thread Pool will be created.

Step 4:- Servlet Class will be loaded if we defined <load-on-startup> tag in web.xml.

Step 5:- All filter will be initialized.

Step 6:- All Listener will be initialized.