This chapter describes the processes, systems, and services that make up the architecture of NAS.
Server Processes
System Components
adding any number of NAS machines.
specifying any number of KCS and KJS processes.
maintaining any number of threads on each process.
The Executive Server invokes the request manager, a system-level service.
The request manager assigns a thread to the request and forwards the request to the appropriate application process, which is either the Java Server or the C++ Server.
When the request manager is finished, it is dismissed from the Executive Server, providing a dynamic-usage model for increased server performance.
Protocol Manager
Load Balancing System
Request Management System
Application Components
Application Services
System Services
Transaction Management System
Security
Administrative Services
Web connectors and listeners manage the passing of requests from the web server to the Netscape Application Server. Listeners distribute and handle requests from the web connectors. New listeners can be added with the HTTP handler.
The HTTP streaming service handles data streams from the Netscape Application Server to the web server and to the web browser.
The NAS Protocol Manager manages and provides services for all active, loaded listeners. The Protocol Manager supports HTTP, HTTPS (HTTP over SSL), and IIOP.
Thread Manager
The Thread Manager provides a dynamic pool of threads. From this pool, a thread is assigned to process the request.
Queue Manager
The Queue Manager gets involved when requests must be queued until a thread becomes available.
The Queue Manager manages the list of pending requests and descriptive information. This information includes things such as the unique request ID and a request's current processing status, such as waiting, in process, finished, and so on.
Request Logging
Request Logging, if enabled by the system administrator, keeps an information log of web server requests in a back-end database or in log files.
C++ applications access databases using classes and interfaces provided in the NAS API, also called the Foundation Class Library.
Java applications access databases using the standard JDBC API.