JavaBoutique : Articles :

Contents
Introduction
Where Application Servers Fit in 3-tier Architecture
List of Some of the Application Servers on the Market
Some of the Parameters That May Help in Selecting an Application Server

Explore the World of Application Servers

This article explores the world of the Application Server and answers some of the most frequently asked questions like:

  1. What is an Application server?
  2. What is a 3-Tier architecture?
  3. Where exactly the application server fits in?
  4. For what exactly the application server is meant?
  5. What are the different types of application servers?
  6. What all are the application servers avalaible on the market?
  7. What should one look for when opting for an application server?

An Application server is a server program that resides in the server (computer) and provides the buiness logic for the application programme. The server can be a part of the network, more precisly the part of the distributed network. The server program is a program that provides its services to the client program that resides either in the same computer or on another computer connected through the network.

Application servers are mainly used in web based applications that have 3-Tier arhitecture.

1st Tier: Front end - Browser (thin client), a GUI interface lying at the client/workstation.

2nd Tier: Middle tier - Application Server - set of application program.

3rd Tier: Back end - Database Server.

The application server is a second / middle Tier of the 3- tier Architecture. In other words now application servers are integeral part of the 3-tier Acrtitecture.

The Application server syncs / combines with the web server for processing the request made by the client.

If we look at the request-response flow between client, web server and application server, we come to know that the client's request first goes to the web server which sends the required information to the application server that sends back the response to the webserver after taking an appropriate action. The webserver futher sends the processed information back to the client. Web server use different approaches or technology for forwarding or receiving back processed information. Some of the most common approaches are given below.

  1. CGI (Common Gateway Interface)- can be written either in JAVA, C, C++, and Perl.
  2. FastCGI - Improved CGI programming in which each request is not handled as a different process like CGI.
  3. ASP (Active Server Pages) - A Microsoft Technology
  4. JSP (Java Server Pages).
  5. Java Servlets - Sun's Technology
  6. Java Script (Server Side) - NetScape Technology requires livewire for database connectivity.
  7. etc.

First let's have a look at the web application architecture without considering the application server as part of the web application architecture.


All three can either be on one machine or spread over the network on different machines as shown above.


NEXT ->

How to Add Java Applets to Your Site

New on the Java Boutique:

New Review:

Time Management Made Easy with the Quartz Enterprise Job Scheduler
Why not just use the Java timer API? This open source scheduling API boasts simplicity, ease-of-integration, a well-rounded feature set, and it's free!

New Applet:

Reverse Complement
Reverse Complement is a simple applet that converts DNA or RNA sequences into three useful formats.

Elsewhere on internet.com:

WebDeveloper Java
Lots of Java information on webdeveloper.com

WDVL Java
Thorough Java resource at the Web Developer's Virtual Library.

ScriptSearch Java
Hundreds of free Java code files to download.

jGuru: Your View of the Java Universe
Customizable portal with online training, FAQs, regular news updates, and tutorials.