CBSE BOARD X, asked by rajdeepdas2003, 1 year ago

5 Differences between server and web server.......​

Answers

Answered by zozo5
36

Application Server vs Web Server

1. Application Server supports distributed transaction and EJB. While Web Server only supports Servlets and JSP.

2. Application Server can contain web server in them. most of App server e.g. JBoss or WAS has Servlet and JSP container.

3. Though its not limited to Application Server but they used to provide services like Connection pooling, Transaction management, messaging, clustering, load balancing and persistence. Now Apache tomcat also provides connection pooling.

4. In terms of logical difference between web server and application server. web server is supposed to provide http protocol level service while application server provides support to web service and expose business level service e.g. EJB.

5. Application server are more heavy than web server in terms of resource utilization.

Personally I don't like to ask questions like Difference between Application Server and Web Server. But since its been asked in many companies, you got to be familiar with some differences. Some times different interviewer expect different answer but I guess on Java's perspective until you are sure when do you need an application server and when you need a web server, you are good to go.


zozo5: Please mark this brainest
Answered by namrapatowarisl
3

Answer:

correct question:

5 differences between web server and application server.

Explanation:

web server:

  1. uses: It is useful in case of static contents such as static html pages.
  2. purpose: It contains only web web container.
  3. Multithreading support: not supported
  4. Protocol(s) supported: It supports HTTP protocol.
  5. example : Apache web server

Application server:

  1. uses: It is useful in case of dynamic contents such as bank websites.
  2. purpose: It contains web container plus EJB container
  3. multithreading support: It is supported
  4. Protocol(s): It supports HTTP and RPC/RMI protocols as well/
  5. example: Jboss , weblogic

#SPJ2

Similar questions