differ webserver & application server

I got a confusion to find out the diffrerence between webserver and application server .I am thinking Apache tomcat is a webserver (ie in that i can deploy jsp&servlet )and weblogic and jboss are application server(because i can deploy enterprise application in that-ejb). But apache tomcat is not supporting enterprise application...and i have doubt in Apache http server . I found out Apache http server is web server.till i have confusion in apache tomcat server .Is it Application server or webserver. Where I can Use web server and application server.

[567 byte] By [stanlysunila] at [2007-11-27 4:46:42]
# 1

Hi stanlysunil,

Once upon a time even me also had the same doub't. I referred some sites and experts for that. I like to share my collected information to you.

-

A Web server simply processes HTTP requests by responding with HTML pages.

A Web server exclusively handles HTTP requests, whereas an application server serves business logic to application programs through any number of protocols.

You are correct Apache Tomcat is a webserver , JBoss and weblogic are application server.

If you dont have much of static content then I think its fine to go for Tomcat without Apache.

If your not using html pages(static) and only using servlets and jsps you dont need apache you will go for tomcat. Tomcat is made specially for servlet and jsp usually called it as servlet container.

Brief about Webserver & Application Server

Web Server

--

The web server must handle standard HTTP requests and responses, typically returning HTML to the calling user. Code that executes within the server environment may be CGI driven, Servlets, ASP, or some other server-side programming language, but the end result is that the web server will pass back HTML to the user.

Application Server

--

When you move on to Enterprise JavaBeans (and other J2EE components like JMS and CORBA) you move into the application server space. An Application Server is any server that supplies additional functionality related to enterprise computing -- for instance, load balancing, database access classes, transaction processing, messaging, and so on.

Hope you understand now......

Thanks & Regards

G.kalish Prabu

JavaForEvera at 2007-7-12 9:59:17 > top of Java-index,Core,Core APIs...
# 2
can u explain what is apache https server and what is apache tomcat server
stanlysunila at 2007-7-12 9:59:17 > top of Java-index,Core,Core APIs...
# 3
> You are correct Apache Tomcat is a webserver , JBoss and weblogic are application server.No, they are all application servers, they all host servlets or containers.
ejpa at 2007-7-12 9:59:17 > top of Java-index,Core,Core APIs...
# 4
The last time I checked Tomcat was a webserver and a servlet container, it supported only some parts of J2EE but not the EJB stuff. So it was an Application Server in the servlet sense, but not in the full J2EE sence.
BIJ001a at 2007-7-12 9:59:17 > top of Java-index,Core,Core APIs...
# 5

> The last time I checked Tomcat was a webserver and a

> servlet container, it supported only some parts of

> J2EE but not the EJB stuff. So it was an Application

> Server in the servlet sense, but not in the full J2EE

> sence.

I don't think there's enough of a consensus on what "application server" actually encompasses for that to be so, though.

georgemca at 2007-7-12 9:59:17 > top of Java-index,Core,Core APIs...