[Top] [Prev] [Next] [Bottom] [Contents]

Application Server Architecture

The Application Server Architecture consists of four components:

Web Server Extension

This component allows your web server to communicate with the application servers. The Web Server Extension (WSE) is part of the Sapphire/Web distribution and only needs to be installed and configured once. The WSE can communicate with Sapphire Application Servers running on either Windows or supported UNIX platforms via a TCP/IP socket.

There are two versions of the WSE:

WRBAPI application servers do not require a Web Server Extension. This functionality is taken care of within the Oracle Web Server.

Application Server

The Application Server is a program generated by Sapphire/Web project. This program has all of the functionality you defined in the tool. These Application Servers can be deployed on either Windows or supported UNIX platforms. An Application Server can process one request at a time (it is not threaded). You must define one instance of the application server for each concurrent user accessing the application. The application server will eventually need to terminate. You can control when the application servers terminate by changing the options in the App Server tab of the Options Editor. Application Server instances can be configured at their creation to endure a given amount of time after their last use before automatically shutting down. They also can be configured at their creation to shut down after a total of a certain number of requests.

Application Server Manager

In order for a server extension to start an application server you will need to run the Sapphire Application Server Manager on each box that you will deploy the Sapphire application servers. This process will manage the starting of application servers.

Installing the Sapphire/Web Application Server Manager

The Sapphire Application Server Manager is in $SAPPHIRE/bin and the executable name is saappman. Saappman listens on port 12345 by default. If this is not appropriate you can change the port number by adding a line to /etc/services. You will need to add this line by editing /etc/services:

saappman 12345/tcp #sapphire application server manager
You should replace 12345 with the port you want to use.

All Sapphire Application Server Managers must use the same port on all machines on your network that will run application servers. That is, you must edit /etc/services on all hosts. If some of the machines running application servers use Windows NT as an operating system you must change the port number in the Sapphire/Web Gateway Manager Program.

You should make sure that the saappman program is placed in the startup script for your machine. See your system administrator for details.



[Top] [Prev] [Next] [Bottom] [Contents]

info@bluestone.com
Copyright © 1997, Bluestone. All rights reserved.