Java

Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Mar 2007
Posts: 17
Reputation: arunprashanth is an unknown quantity at this point 
Solved Threads: 0
arunprashanth arunprashanth is offline Offline
Newbie Poster

Java

 
0
  #1
Jun 26th, 2007
Hi

What is the difference between application server and webserver.

thanks.
Reply With Quote Quick reply to this message  
Join Date: Feb 2007
Posts: 539
Reputation: thekashyap will become famous soon enough thekashyap will become famous soon enough 
Solved Threads: 50
thekashyap's Avatar
thekashyap thekashyap is offline Offline
Posting Pro

Re: Java

 
0
  #2
Jun 26th, 2007
AFAIK:
A web-server usually hosts only front-end jsps/htmls. It will have very little or no business logic.
An Application server on the other hand would host a lot more of business logic.
Are you Agile.. ?
Reply With Quote Quick reply to this message  
Join Date: Jun 2006
Posts: 7,619
Reputation: ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of 
Solved Threads: 468
Super Moderator
Featured Poster
~s.o.s~'s Avatar
~s.o.s~ ~s.o.s~ is offline Offline
Failure as a human

Re: Java

 
0
  #3
Jun 27th, 2007
Depends on what kind of project is under consideration. Some combinations I have seen are:
  • Web server and database server
  • App server and database server
  • Web server, Application server and database server
And BTW, a web server is different from a Servlet container considering that the latter is required if you want to host Servlets and JSP's. Basically its like:

Application Server <- Web Container <- Web Server

Application server incorporates everything.
I don't accept change; I don't deserve to live.
Reply With Quote Quick reply to this message  
Join Date: Feb 2007
Posts: 539
Reputation: thekashyap will become famous soon enough thekashyap will become famous soon enough 
Solved Threads: 50
thekashyap's Avatar
thekashyap thekashyap is offline Offline
Posting Pro

Re: Java

 
0
  #4
Jun 28th, 2007
Originally Posted by ~s.o.s~ View Post
And BTW, a web server is different from a Servlet container considering that the latter is required if you want to host Servlets and JSP's.
AFAIK this used to be the case, now-a-days webServ itself takes care of both these tasks.
Are you Agile.. ?
Reply With Quote Quick reply to this message  
Join Date: Feb 2006
Posts: 2,415
Reputation: masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of 
Solved Threads: 256
Moderator
masijade's Avatar
masijade masijade is offline Offline
Nearly a Posting Maven

Re: Java

 
0
  #5
Jun 28th, 2007
Originally Posted by thekashyap View Post
AFAIK this used to be the case, now-a-days webServ itself takes care of both these tasks.
No. Tomcat is a ServletContainer that is able to perform most of the tasks of a web server.

Apache is a Web Server, but has 0 JSP/Servlet capability (it has its own ASPs, but that is something else entirely).

The above are just two examples to show the difference between a Servlet Container and a Web Server. S.O.S's order list is correct.
Java Programmer and Sun Systems Administrator

----------------------------------------------

Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
Reply With Quote Quick reply to this message  
Join Date: Feb 2007
Posts: 539
Reputation: thekashyap will become famous soon enough thekashyap will become famous soon enough 
Solved Threads: 50
thekashyap's Avatar
thekashyap thekashyap is offline Offline
Posting Pro

Re: Java

 
0
  #6
Jun 28th, 2007
Originally Posted by masijade View Post
Apache is a Web Server, but has 0 JSP/Servlet capability
I didn't exactly get this. But I know that in our product, for O&M GUI we use Apache Tomcat. The GUI is written completely using JSPs.
Are you Agile.. ?
Reply With Quote Quick reply to this message  
Join Date: Feb 2007
Posts: 871
Reputation: vinod_javas is an unknown quantity at this point 
Solved Threads: 7
vinod_javas's Avatar
vinod_javas vinod_javas is offline Offline
Practically a Posting Shark

Re: Java

 
0
  #7
Jun 28th, 2007
webserver doesnt support business logic

whereas application server support business logic

and

Everything in web server must be achieved programmatically

where as in application server

it provides a lot of services like security, transaction , scalability.
Adios,

Vinod......
Reply With Quote Quick reply to this message  
Join Date: Jun 2006
Posts: 7,619
Reputation: ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of 
Solved Threads: 468
Super Moderator
Featured Poster
~s.o.s~'s Avatar
~s.o.s~ ~s.o.s~ is offline Offline
Failure as a human

Re: Java

 
0
  #8
Jun 28th, 2007
> But I know that in our product, for O&M GUI we use Apache Tomcat
Apache Tomcat is a web container which knows how to handle Servlets and JSP's and has all the capabilities of a normal web server.

Apache Web Server and Apache Tomcat are two different things.

> webserver doesnt support business logic
Thats not a generic statement. It does when your server side logic is written entirely is PHP. AFAIK, there is no app server for PHP, though I admit my understanding of PHP even fails me. Also when you have a small scale project, using a web container gets the job done. Low complexity projects seldom require the power of an Application server.
I don't accept change; I don't deserve to live.
Reply With Quote Quick reply to this message  
Join Date: Feb 2006
Posts: 2,415
Reputation: masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of 
Solved Threads: 256
Moderator
masijade's Avatar
masijade masijade is offline Offline
Nearly a Posting Maven

Re: Java

 
0
  #9
Jun 28th, 2007
Also, at least as far as apache is concerned, there is no reason why the Web Server can't have business logic. I know someone who has written an entire web site (not page) (and a complex one at that) as an Apache module. Very fast, but I, myself, would not want to be the one that had to maintain it (although there was flexible content).
Java Programmer and Sun Systems Administrator

----------------------------------------------

Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Java Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC