what is different between webserver and application server?
Answers were Sorted based on User's Feedback
Answer / neena
The basic difference between a web server and an
application server is
Webserver can execute only web applications i,e servlets
and JSPs and has only a single container known as Web
container which is used to interpret/execute web
applications
Application server can execute Enterprise application, i,e
(servlets, jsps, and EJBs) it is having two containers 1.
Web Container(for interpreting/executing servlets and jsps)
2. EJB container(for executing EJBs). it can perform
operations like load balancing , transaction demarcation
etc etc
| Is This Answer Correct ? | 17 Yes | 0 No |
Answer / sriniwas,m
Web server supports only http protocal
Where as application server supports any ytpe of protocalls
such as tcp/ip,http etc..
| Is This Answer Correct ? | 13 Yes | 1 No |
Answer / mala
According to my knowledge,
Application server is more capable of dynamic behaviour
than webserver. We can also configure application server to
work as a webserver.Simply application server is a superset
of webserver.
Webserver exclusively handles http requests.application
server serves bussiness logic to application programs
through any number of protocols.
| Is This Answer Correct ? | 6 Yes | 2 No |
Answer / gireesh
All the above are correct,Plz add the below points also
web server can't act as Application Server but Application server can act as Web Server.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / ramesh sukka
if you use any J2EE middle ware services like JAAS,JTA in
your application, you required application server container
to deploy the application. if you only use plain
servelts,JSP in ur application, web server is preffered one.
| Is This Answer Correct ? | 3 Yes | 2 No |
Answer / sourav
Web Server doesn't support clustering but application server
supports clustering.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / sourav
Webserver recognise only WAR file but application server
recognize WAR as well as RAR,EAR etc
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / priya
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 or 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.
The web server simply passes the request to the program to
handle it. The web server does not provides any
functionality beyond providing an environment in which the
server - side program can execute and pass back the
generated responses. The server-side program usually
provides such functions as transaction processing, database
connectivity and messing .
Application Server
While an application server exposes business logic to client
applications through various protocols like HTTP, TCP-IP
etc. All the web servers mainly deals with sending HTML for
displaying to a Web browser. An application server providers
allows the client to access the business logic for use. The
application server is used to run business logic or
dynamically generating presentation code. A J2EE application
server runs servlets and JSPs that are used to create HTML
pages dynamically. In this case, J2EE application server can
run EJBs ? which are used to execute business logic. An
application server is more capable of dynamic behaviour than
webserver.
| Is This Answer Correct ? | 1 Yes | 0 No |
Can we run multiple instances of tomcat server on a single machine? If yes how?
Stored a cookie on the browser; why can’t I see it?
Does tomcat need jdk or jre?
What is difference between tomcat and websphere?
what is jasper?
What is the difference between Tomcat 4.1 and Tomcat 5.0?
What’s the difference between the apache web server and apache tomcat?
How can one know if the apache web server is running?
iam getting portno error ,kindly any one can help me to sovle this issue plz?Several ports (8005, 8009) required by Tomcat v6.0 Server at localhost are already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other process or change the port number(s). this kind of error iam geeting even i change port Nos also?
m creating a web project in struts. when i deploys war file through myeclipse 8.x to web server tomcat6.x. first time this war file is deploy successfully bt when we change somthng in my jsp or anywhere in my project ...thn we need to deploy again so tht m gettng this erro. plzzz tell me where i was wrong?? war file is diployed successfully.....i mentioned it by ******* . and after tht m getng error...Undeploying context [/gfwrd] May 23, 2010 7:40:23 PM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_03\bin;C:\Program Files\Apache Software Foundation\Tomcat 6.0\bin May 23, 2010 7:40:23 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-7070 May 23, 2010 7:40:23 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 2947 ms May 23, 2010 7:40:24 PM org.apache.catalina.core.StandardService start INFO: Starting service Catalina May 23, 2010 7:40:24 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/6.0.16 May 23, 2010 7:40:27 PM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-7070 May 23, 2010 7:40:27 PM org.apache.jk.common.ChannelSocket init INFO: JK: ajp13 listening on /0.0.0.0:8009 May 23, 2010 7:40:27 PM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/109 config=null May 23, 2010 7:40:27 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 3824 ms ************************************************************ ******************* May 23, 2010 7:51:28 PM org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web application archive gfwrd.war ************************************************************ ******************** May 23, 2010 7:54:10 PM org.apache.catalina.startup.HostConfig checkResources INFO: Undeploying context [/gfwrd] May 23, 2010 7:54:10 PM org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web application archive gfwrd.war
What type of ip is required for apache web server to host our website?
How to run different apps on single tomcat instance behind different ports?