Why is that we deploy servlets in a webserver.What exactly is a webserver?

Showing Answers 1 - 6 of 6 Answers

veeru

  • Sep 8th, 2005
 

Web server 
This is nothing but Program written in Java etc.Ex:Tomcat 5.0 
 
The webserver is exactly running in the JVM.so,whataver the program is written for Tomcat is running in JVM and displaying.

  Was this answer useful?  Yes

sravani

  • May 15th, 2006
 

webserver is a server that is implemented by the http protocols

  Was this answer useful?  Yes

Amit Saini

  • Dec 15th, 2006
 

We deploy the class file of the served, & servlet needed to execute run time environment & web server provide the run time environment for executing the servlet, each server has the own JVM

  Was this answer useful?  Yes

pavan kumar

  • May 8th, 2007
 

A Web server handles the HTTP protocol. When the Web server receives an HTTP request, it responds with an HTTP response, such as sending back an HTML page. To process a request, a Web server may respond with a static HTML page or image, send a redirect, or delegate the dynamic response generation to some other program such as CGI scripts, JSPs (JavaServer Pages), servlets, ASPs (Active Server Pages), server-side JavaScripts, or some other server-side technology. Whatever their purpose, such server-side programs generate a response, most often in HTML, for viewing in a Web browser. Understand that a Web server's delegation model is fairly simple. When a request comes into the Web server, the Web server simply passes the request to the program best able to handle it. The Web server doesn't provide any functionality beyond simply providing an environment in which the server-side program can execute and pass back the generated responses

Webserver is a piece of s/w that takes the request from client(browser) and passes that request to appropriate web resource program and it provides services to application(creating obj,call the methods,destroy the objs)and gives result back to client..To provide all these services we have to deploy the web application(servlets)in webserver...

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions