04-02-25 ---------- Q)What are the limitations of the web server? =>A web server alone can support only static websites. It can't support dynamic website. =>A web server can't perform the following activites 1)It can't communicate with the database 2)It can't process the data 3)Ita can't produce the response page. =>That is why, a web server can't support a dynamic website. Q)How to overcome the limitations of the web server? =>using server side programming(web server side programming) Q)What are the main functionalities of a web server side program? =>A server side program's main duty is to extend the functionality of the web server. =>to enhance the functionality of the web server, a server side program perfroms the following duties. 1)capturing the user input(From the web server) 2)communicating with the database 3)processing the data 4)producing the response page 5)handing over the response page to the web server Q)What are the different types of web server side Java programs? 1)servlets 2)jsps (outdated) Q)What are the Java technologies used in a Java web application(Java based dynamic website)? 1)Servlet Technology 2)JSP technology Note:- JDBC is also used for database communication. Q)What is a web container? =>Web container is a Java based server software that comprises of 3 modules. 1)web server 2)SERVLET CONTAINER 3JSP container For eg. Tomcat from ASF Q)What is a web application? =>A computer application whose services are accessible through web(internet) is nothing but a web application. =>A web application can also be called as 1)dynamic website 2)online application 3)Internet application Q)What is Servlets? =>Servlets is a Java based web technology from Sun Microsystems. Q)What is a servlet? =>A web server side Java program* that extends the functionality of the web server is nothing but a servlet. =>A servlet is web component. Q)What can a servlet do in a web application? =>to enahance the functionality of the web server, a servlet can do the following things. 1)capturing the user input(From the web server) 2)communicating with the database 3)processing the data 4)producing the response page 5)handing over the response page to the web server