web server - Borland Technical Publications

web server - Borland Technical Publications web server - Borland Technical Publications

techpubs.borland.com
from techpubs.borland.com More from this publisher
12.11.2014 Views

Microsoft Internet Information Services (IIS) web server By default, all configuration.xml files are located in the following directory: /var/domains//configurations// To add web container ENV variables for a Partition Managed Object, use the env-vars element and env-var sub-element and the following syntax: ...> ... where is the ENV variable name and is the value you want to set for the named ENV variable. For example: ...> ... For more information about the element, go to BDOC Reference. Microsoft Internet Information Services (IIS) web server The Microsoft Internet Information Services (IIS) web server is not included with any BES product offerings. However, BES does include the IIOP redirector which provides connectivity from the Borland Tomcat-based web container to the IIS web server, and from the IIS web server to a CORBA server. The IIOP redirector is supported for the following IIS versions: ■ Microsoft Windows 2000/IIS version 5.0 ■ Microsoft Windows XP/IIS version 5.1 ■ Microsoft Windows 2003/IIS version 6.0 For more information, go to Chapter 5, “Web server to web container connectivity.” IIS/IIOP redirector directory structure After installing any of the BES products, by default, the following IIS/IIOP redirectorspecific directory structure appears in: /etc/iisredir2/ Table 4.4 IIS/IIOP redirector directories IIS/IIOP redirector-specific directory name conf logs Description Contains all configuration files. Contains all log files. Chapter 4: Web components 37

Smart Agent implementation Smart Agent implementation The Smart Agent is a service that helps in locating and mapping client programs and object implementation. The Smart Agent is automatically started with default properties. For information on configuring the Smart Agent, go to the VisiBroker for Java Developer's Guide. The Smart Agent is a dynamic, distributed directory service that provides facilities for both the client programs and object implementation. The Smart Agent maps client programs to the appropriate object implementation by correlating the object or service name used by the client program to bind to an object implementation. The object implementation is an object reference provided by a server, such as the Borland web container. The Smart Agent must be started on at least one host within your local network. When your client program invokes an object (using the bind method), the Smart Agent is automatically consulted. The Smart Agent locates the specified object implementation so that a connection can be established between the client and the object implementation. The communication with the Smart Agent is transparent to the client program. The following are examples of how the Smart Agent is used by the BES web components: ■ “Connecting an Apache web server to a Borland web container” on page 38. ■ “Connecting Borland web containers to Java Session Service” on page 39. Connecting an Apache web server to a Borland web container As a distributed directory service, the Smart Agent registers an active ID of an object reference for the client programs to use. The following diagram shows the interaction between the client program binding to an object through the Smart Agent. In this example, the Apache web server is acting as a client and the Borland web container is acting as a server (and provides the object reference). 38 BES Developer’s Guide

Smart Agent implementation<br />

Smart Agent implementation<br />

The Smart Agent is a service that helps in locating and mapping client programs and<br />

object implementation. The Smart Agent is automatically started with default<br />

properties. For information on configuring the Smart Agent, go to the VisiBroker for<br />

Java Developer's Guide.<br />

The Smart Agent is a dynamic, distributed directory service that provides facilities for<br />

both the client programs and object implementation. The Smart Agent maps client<br />

programs to the appropriate object implementation by correlating the object or service<br />

name used by the client program to bind to an object implementation. The object<br />

implementation is an object reference provided by a <strong>server</strong>, such as the <strong>Borland</strong> <strong>web</strong><br />

container.<br />

The Smart Agent must be started on at least one host within your local network. When<br />

your client program invokes an object (using the bind method), the Smart Agent is<br />

automatically consulted. The Smart Agent locates the specified object implementation<br />

so that a connection can be established between the client and the object<br />

implementation. The communication with the Smart Agent is transparent to the client<br />

program.<br />

The following are examples of how the Smart Agent is used by the BES <strong>web</strong><br />

components:<br />

■<br />

“Connecting an Apache <strong>web</strong> <strong>server</strong> to a <strong>Borland</strong> <strong>web</strong> container” on page 38.<br />

■<br />

“Connecting <strong>Borland</strong> <strong>web</strong> containers to Java Session Service” on page 39.<br />

Connecting an Apache <strong>web</strong> <strong>server</strong> to a <strong>Borland</strong> <strong>web</strong> container<br />

As a distributed directory service, the Smart Agent registers an active ID of an object<br />

reference for the client programs to use. The following diagram shows the interaction<br />

between the client program binding to an object through the Smart Agent. In this<br />

example, the Apache <strong>web</strong> <strong>server</strong> is acting as a client and the <strong>Borland</strong> <strong>web</strong> container is<br />

acting as a <strong>server</strong> (and provides the object reference).<br />

38 BES Developer’s Guide

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!