As simple as It should be A web server is a HTTP protocol stack that is limited to handling HTTP requests.
While a web server mainly deals with sending HTML for display in a web browser, an application server provides access to server side logic (server applications) for use by client application programs. DYNAMICS PAGES AS JSP, PHP, ASP... When is Apache Web Server an App server? Well If you install a module like php5.load, you can generate dynamic contents so you have an app server. In the case of java there are two kind of App server "servlets container" as tomcat and "EJBs Container" like Glassfish. A web server is more optimized to serve static content than an app server. So If your app is going to have a static section. It should be a good idea to configure an web server. I reviewed chrispin's link and It's weird, because HTTP runs over TCP/IP in almost all cases. On Mon, Apr 4, 2011 at 10:49 AM, Chrispin Kabuya <chrispin.kab...@gmail.com>wrote: > Check from http://www.jguru.com/faq/view.jsp?EID=282323you have > Cheers! > > ---------- Forwarded message ---------- > From: Chrispin Kabuya <chrispin.kab...@gmail.com> > Date: Mon, 4 Apr 2011 17:44:10 +0200 > Subject: Re: [java ee programming] Difference between Applicaton and Web > server > To: anthonycklamp...@hotmail.com > > A Web Server understands and supports only HTTP protocol whereas an > Application Server supports HTTP,TCP/IP and many more protocols. Also > many more features such as Caches,Clusters,Load Balancing are there in > Application Servers which are not available in Web Servers. We can > also Configure Application Servers to work as Web Server. In short, > Applicaion Server is a super set of which Web Server is a sub set. > web server is just a publishing server.whereas an application server > provides some services like security, and as said before clustering > and caches on its own.we just have to configure in order to use these > services.in case of a web server it is the burden of the programmer to > do all these. A web server provides services only to web clients > whereas an application server provides services to any application > which is running in a distributed environment. > > On 4/4/11, Anthony Lam <anthonycklamp...@hotmail.com> wrote: > > > > Hi, > > > > I would like to clarify the concept behind Application server and Web > > server. What is the difference between the two? I am using the Glassfish > > server under Window Vista for my J2EE course. Is Glassfish an Application > > server or Web server? If it is an Application server then what Web server > I > > am using? > > > > The popluar Web components I always heard of in the market is : > > > > Tomcat > > Apache > > websphere > > Jboss > > > > Which of the products above are classified as Application server or Web > > server? > > > > Thank you. > > > > Regards, > > Anthony Lam > > > > -- > > You received this message because you are subscribed to the Google > > Groups "Java EE (J2EE) Programming with Passion!" group. > > To post to this group, send email to > > java-ee-j2ee-programming-with-passion@googlegroups.com > > To unsubscribe from this group, send email to > > java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com > > For more options, visit this group at > > > http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en > > -- > Sent from my mobile device > > Mr Chrispin Kabuya > BS.CMP.S (UNZA) ,MSc (UZ) > Department of Computer Science > Faculty of Science > Walter Sisulu University > P/Bag X01 Mthatha, WSU, 5117 > Eastern Cape, > Republic of South Africa > Fax: > Phone: +27 (047) 502 2527 > Mobile:+277 34260136 > Email:ckab...@wsu.ac.za > Fax2Email: 0862177248 > > -- > Sent from my mobile device > > Mr Chrispin Kabuya > BS.CMP.S (UNZA) ,MSc (UZ) > Department of Computer Science > Faculty of Science > Walter Sisulu University > P/Bag X01 Mthatha, WSU, 5117 > Eastern Cape, > Republic of South Africa > Fax: > Phone: +27 (047) 502 2527 > Mobile:+277 34260136 > Email:ckab...@wsu.ac.za > Fax2Email: 0862177248 > > -- > You received this message because you are subscribed to the Google > Groups "Java EE (J2EE) Programming with Passion!" group. > To post to this group, send email to > java-ee-j2ee-programming-with-passion@googlegroups.com > To unsubscribe from this group, send email to > java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com > For more options, visit this group at > > http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en > -- You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en