LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-14-2007, 08:12 AM   #1
gokulnath
LQ Newbie
 
Registered: Sep 2006
Posts: 17

Rep: Reputation: 0
difference between web server and application server


Hi

Can any one explain me, what is the main difference between web server and application server?

Gokulnath
 
Old 03-14-2007, 09:36 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
I think a web server is a server that provides web services (websites, hosting etc.) to clients and an application server provides applications (for example programs that are actually run in the server, but so that the client uses them). Or that's what the names imply. A server is generally speaking any machine that provides some sort of services to other machines (clients), so a certain kind of server is just a server that provides certain kinds of services. A web server is for example the machine (or rather machines) that keep eBay's sites on the web, and an application server is for example some machine that provides ASP services. The real difference in the machines is probably just the software that is run on them: on a web server there is something like Apache for example, that does the job of serving web stuff, and on an application server there is some other kind (or kinds) of program(s) running that take care of serving the asked programs to users, and try to keep the thing secure.

Surely somebody (or Wikipedia) knows more specifically.
 
Old 05-07-2007, 07:26 AM   #3
tonan
Member
 
Registered: Nov 2003
Location: india, New Delhi
Distribution: Red Hat Linux
Posts: 62

Rep: Reputation: 16
Webserver --- appserver

A webserver can handle only HTTP request that is HTML pages. With that also xml and css. It can store static webpages and also handle some of the client side scripts that can run on any browser. Like jscript and vbscirpt. Earlier they were only used because we needed information which was easily availble in a readable and well formatted style. A webserver can store html pages and images and send them to the client from whom the requset is made.

Now as applications grew big needs grew big, app servers came into action, you can now access your bankaccounts , do transactions buy airtickets shop online, search anything and everything that you can think of in GOOGLE. Also you can post a topic and get a reply, get the status online.. so these kind of things are all dynamic in nature. That is some one has to update is regularly. Here comes JAVA and it needs an enviroment to run and different containers. App servers provide that environment to the java appilcation to execute as it handles the various connection created with the databases using the various connection pools. Apart from that it can run various kinds of java applications as instances which can appept the request from the client and send them back the data after all the computation and calculation in a readable format that is HTML.

So if you look to a java application and a static website its no difference both are accessed by hitting a URL, but internally the reuqest is first forwarded to the HTTP listener (WEB SERVER) and then it is forwared to the APPLICATION SERVER for all the processing that is fetching the data from the database, connnecting to a remote MAinframe server to get some data etc.. and then return the output to the WEB server as HTML which is sent back to the clinet as HTTP (html) pages.

Hope this helps your understanding

Regards
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
best distrubition for nas server and p2p download server and web server geosko Linux - Distributions 8 10-13-2006 09:20 AM
How the DNS-server is connected to work of a web-server and a mail-server? ukrainet Linux - Newbie 2 01-10-2005 09:18 PM
GIS Application Needed for Linux Web Server Sybrwulf Linux - Software 0 11-17-2004 06:27 AM
can we configure a Linux server with mail server,file server and web server kumarx Linux - Newbie 5 09-09-2004 06:21 AM
web server application HTS Programming 1 06-10-2004 09:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration