different between web server and application server

Answer Posted / kalidas maliyala

The web server
When a request comes into the Web server, the Web server simply passes the request to the program best able to handle it. The Web server doesn't provide any functionality beyond simply providing an environment in which the server-side program can execute and pass back the generated responses. The server-side program usually provides for itself such functions as transaction processing, database connectivity, and messaging.

The application server

Such application server clients can include GUIs (graphical user interface) running on a PC, a Web server, or even other application servers. The information traveling back and forth between an application server and its client is not restricted to simple display markup. Instead, the information is program logic. Since the logic takes the form of data and method calls and not static HTML, the client can employ the exposed business logic however it wants.

In most cases, the server exposes this business logic through a component API, such as the EJB (Enterprise JavaBean) component model found on J2EE (Java 2 Platform, Enterprise Edition) application servers.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the context in javascript?

701


What is function overloading in javascript?

795


What does the delete operator do?

728


What does the term sticky session mean in a web-farm scenario? Why would you use a sticky session? What is the potential disadvantage of using a sticky session?

730


How can you declare a class in javascript?

804


Mention what is the disadvantage of using innerhtml in javascript?

828


What is the difference between scripting and programming?

709


What is callback in javascript?

745


What is the difference between JavaScript and jscript?

832


How is javascript different from java?

732


Explain why "self" is needed instead of "this".

727


What is console.log() and why it is used?

849


What is are the types of the pop up box es available in javascript?

739


Write a Program using Servlet and JDBC for developing online application for displaying the details of Cars owned by the residents in XYZ society. Make necessary assumptions and create appropriate databases

2072


How to delete an array entry using javascript?

669