Both have given answers like giving only examples.
Actualy a web server is just a part of a application server.
where as a application server not only serve as web server
but also the application can be used to run some internal
bussiness login in the server.
So application server is a broad category as compare to web
server
Application server is a server that hosts an API to expose
Business Logic and Business Processes for use by other
applications
Web server is responsible for accepting HTTP requests from
web clients, which are known as web browsers, and serving
them HTTP responses along with optional data contents,
which usually are web pages such as HTML documents and
linked objects
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.
Difference between AppServer and a Web server
(1) Webserver serves pages for viewing in web browser,
application server provides exposes businness logic for
client applications through various protocols
(2) Webserver exclusively handles http requests.application
server serves bussiness logic to application programs
through any number of protocols.
(3) Webserver delegation model is fairly simple,when the
request comes into the webserver,it simply passes the
request to the program best able to handle it(Server side
program). It may not support transactions and database
connection pooling.
(4) Application server is more capable of dynamic behaviour
than webserver. We can also configure application server to
work as a webserver.Simply applic! ation server is a
superset of webserver.
Application Server is the one that hosts the business logic
of the applications as well as third party applications that
are needed by web applications.
Web server receives the HTTP request, uses the application
server for the processing of data. It uses CGI scripts to
access the third party application lying on the application
server.
The response of the application server is utilized by web
server and produces the appropriate and presentable output
to the browsers.
A company named Pensar Technologies in chennai has offered
me a job as Software Trainee in chennai.But they are asking
to pay demand draft of Rs.75000/- in the name of the
company.They are saying the gross renumeration will pay
Rs.90000/- annually.I want to know whether this is good or
bad company?Help me out in this.
Create a PHP web script with the following attributes: on
start, three HTML form elements are shown: an string input
field, a checkbox field, a dropdown/pull down list with 5
elements and a submit button. On submission, the form
should be redisplayed (while remaining all options/inputs
as the user has selected/entered them). Additionally, the
selections/inputs of the user should be displayed in text.
Please solve this without the use of any external
libraries.
Which of the following represents the proper way to set a
session variable?
Answer:
a. $_SESSION['foo'] = 'bar';
b. session_start();
c. session_set_save_handler ('myopen', 'myclose', 'myread',
'mywrite', 'mydelete', 'mygarbage');
d. $foo = $_SESSION['foo'];
2.When administering MySQL, you should make the data
directory accessible via the operating system
3.which statement can be used to determine how the optimizer
resolves a query