SAS/IntrNet 1.2: Application Dispatcher |
Introduction to the Application DispatcherUsing the Application Dispatcher, you can send information from a browser to a SAS session for processing and have the results returned to your browser. The results appear in the browser as text, HTML, GIF, JPEG, or any other format that is supported by your browser. You should use the Application Dispatcher if you
The program that SAS software runs can be a program that you or someone else at your site writes, or it can be a program that is provided by SAS. We provide sample programs and documentation to help you write the programs that meet your information delivery needs. You can even use the sample forms and code as the foundation for your own application. Without too many changes, you can modify almost any SAS batch program to run via the Web, breathing new life into legacy applications and legacy data. In addition, we also offer some commercial applications, written by SAS, that run with the Application Dispatcher. These are included at no extra charge with SAS/IntrNet software. What is the Application Dispatcher?The Application Dispatcher exchanges and processes information using the following components:
What are Dispatcher Services?Typically, the Application Server runs continuously, waiting for new requests. This type of service is called a socket service and refers to the protocol used (TCP/IP sockets) to communicate between the server and the Broker. Using this type of service, many servers can run at the same time, letting the Broker balance the load. As multiple users invoke Dispatcher programs, multiple servers can be utilized to improve application performance. (For details about load balancing, see Using Multiple Servers and Ports (Load Balancing) in Enhancing Performance.) Rather than using the socket service method of running the Application Server, you can start a new server upon each request. This is referred to as the launch service. Although this method can require more time than the socket service method (due to the Application Server starting up each time), the method is easier to administer and provides some security advantages. Because the launch service provides a fresh SAS session for each request, it is the preferred service for developing Dispatcher applications. Using launch will ensure that unstable applications do not adversely affect a socket service in use by other, more stable applications. What are Dispatcher Applications?The Broker and the Application Server provide the communication and processing mechanisms for Dispatcher applications. A Dispatcher application is an HTML form and a program written to accept the information (name/value pairs) that is passed to it from the form. The code for a Dispatcher program can be one of the following:
The program that you create must be designed to accept the information that is received from the Web browser. In many cases, this means that you not only create the source program but also the HTML page that passes information to the Broker. For more information about Dispatcher applications, see Creating Dispatcher Applications. Note that SAS also provides some Dispatcher applications, such as the MDDB Report Viewer application, that are ready to use as soon as you install the Application Dispatcher. Who Uses the Application Dispatcher?The Application Dispatcher has several different types of users:
This Application Dispatcher documentation addresses the Web page author, the Dispatcher program developer, and to a lesser extent, the Webmaster. |
SAS/IntrNet 1.2: Application Dispatcher |