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

Borland Software Corporation 100 Enterprise Way Scotts Valley, California 95066-3249 www.borland.com Borland Software Corporation may have patents and/or pending patent applications covering subject matter in this document. Please refer to the product CD or the About dialog box for the list of applicable patents. The furnishing of this document does not give you any license to these patents. COPYRIGHT © 1992-2004 Borland Software Corporation. All rights reserved. All Borland brand and product names are trademarks or registered trademarks of Borland Software Corporation in the United States and other countries. All other marks are the property of their respective owners. This product includes software developed by the Apache Software Foundation (http://www.apache.org/). This product includes software developed by Steve Viens and contributors. All rights reserved (http://juddi.org/). This product includes software developed by the MX4J project. All rights reserved (http://mx4j.sourceforge.net/). BES0065WW21002 0102030405-987654321 PDF

Contents Chapter 1 Introduction to Borland Enterprise Server (BES) 1 BES Products and Editions overview . . . . . . . . . 1 AppServer Edition . . . . . . . . . . . . . . . . . 1 AppServer Edition features . . . . . . . . . . 2 VisiBroker Edition . . . . . . . . . . . . . . . . . 2 VisiBroker Edition features . . . . . . . . . . . 2 Borland Enterprise Server Documentation . . . . . . 3 Accessing BES online help topics in the standalone Help Viewer . . . . . . . . . . . . . 4 Accessing BES online help topics from within a BES GUI tool . . . . . . . . . . . . . . 4 Documentation conventions . . . . . . . . . . . . . 4 Platform conventions . . . . . . . . . . . . . . . 5 Contacting Borland support. . . . . . . . . . . . . . 5 Online resources. . . . . . . . . . . . . . . . . . 5 World Wide Web . . . . . . . . . . . . . . . . . 6 Borland newsgroups . . . . . . . . . . . . . . . . 6 Chapter 2 Borland Enterprise Server overview and architecture 7 BES architecture overview . . . . . . . . . . . . . . 7 BES services overview . . . . . . . . . . . . . . . . 8 Web Server . . . . . . . . . . . . . . . . . . . . 8 JMS . . . . . . . . . . . . . . . . . . . . . . . . 9 Smart Agent . . . . . . . . . . . . . . . . . . . . 9 2PC Transaction Service . . . . . . . . . . . . . 9 The Partition and its services . . . . . . . . . . . . . 9 Connector Service . . . . . . . . . . . . . . . . . 10 EJB Container . . . . . . . . . . . . . . . . . . . 10 JDataStore Server . . . . . . . . . . . . . . . . . 10 Lifecycle Interceptor Manager . . . . . . . . . . . 10 Naming Service . . . . . . . . . . . . . . . . . . 10 Session Storage Service . . . . . . . . . . . . . 11 Transaction Manager . . . . . . . . . . . . . . . 11 Web Container . . . . . . . . . . . . . . . . . . . 11 Borland Enterprise Server and J2EE APIs . . . . . . 11 JDBC . . . . . . . . . . . . . . . . . . . . . . . 12 Java Mail. . . . . . . . . . . . . . . . . . . . . . 12 JTA. . . . . . . . . . . . . . . . . . . . . . . . . 12 JAXP . . . . . . . . . . . . . . . . . . . . . . . . 12 JNDI . . . . . . . . . . . . . . . . . . . . . . . . 12 RMI-IIOP. . . . . . . . . . . . . . . . . . . . . . 12 Other Technologies . . . . . . . . . . . . . . . . 13 Optimizeit Profiler and Optimizeit ServerTrace . . 13 Chapter 3 Partitions 15 Partitions Overview . . . . . . . . . . . . . . . . . . 15 Creating Partitions . . . . . . . . . . . . . . . . . . 16 Running Partitions . . . . . . . . . . . . . . . . . . 17 Running unmanaged Partitions . . . . . . . . . . 17 Running managed Partitions . . . . . . . . . . . 18 Running Partitions with Optimizeit Profiler or ServerTrace . . . . . . . . . . . . . . . . . . . 19 Partition logging . . . . . . . . . . . . . . . . . 19 Configuring Partitions . . . . . . . . . . . . . . . . 19 Application archives . . . . . . . . . . . . . . . 19 Working with Partition services. . . . . . . . . . 20 Partition handling of services . . . . . . . . . 20 Configuring individual services . . . . . . . . 20 Configuring VisiNaming Service Clusters for BES. . . . . . . . . . . . . . . . . . . . 20 Gathering Statistics. . . . . . . . . . . . . . . . 21 Security management and policies. . . . . . . . 21 Classloading policies . . . . . . . . . . . . . . . 21 Partition Lifecycle Interceptors . . . . . . . . . . 21 JMX support in Partitions . . . . . . . . . . . . . . 22 Configuring the JMX Agent. . . . . . . . . . . . 22 Partition monitoring. . . . . . . . . . . . . . . . 23 Partition MBeans . . . . . . . . . . . . . . . . . 23 Deploying custom MBeans . . . . . . . . . . . . 24 Locating the JMX agent . . . . . . . . . . . . . 25 Thread pools. . . . . . . . . . . . . . . . . . . . . 25 Default thread pool . . . . . . . . . . . . . . . . 25 Auxiliary thread pool . . . . . . . . . . . . . . . 26 Chapter 4 Web components 29 Apache web server implementation . . . . . . . . . 29 Apache configuration . . . . . . . . . . . . . . . 29 Apache configuration syntax . . . . . . . . . . . 30 Running Apache web server on a privileged port. . . . . . . . . . . . . . . . . . 30 Using the .htaccess files . . . . . . . . . . . . . 31 Apache directory structure . . . . . . . . . . 31 Borland web container implementation . . . . . . . 32 Servlets and JavaServer Pages . . . . . . . . . 32 Typical web application development process . . 33 Web application archive (WAR) file. . . . . . . . 33 Borland-specific DTD . . . . . . . . . . . . . 33 Adding ENV variables for the web container . . . . . . . . . . . . . . . . 36 Microsoft Internet Information Services (IIS) web server . . . . . . . . . . . . . . . . . . . . . 37 IIS/IIOP redirector directory structure . . . . . . 37 Smart Agent implementation . . . . . . . . . . . . 38 Connecting an Apache web server to a Borland web container . . . . . . . . . . . . . 38 Connecting Borland web containers to Java Session Service . . . . . . . . . . . . . . 39 Chapter 5 Web server to web container connectivity 41 Apache web server to Borland web container connectivity. . . . . . . . . . . . . . . . . . . . . 41 Modifying the Borland web container IIOP configuration . . . . . . . . . . . . . . . . . . 41 i

<strong>Borland</strong> Software Corporation<br />

100 Enterprise Way<br />

Scotts Valley, California 95066-3249<br />

www.borland.com<br />

<strong>Borland</strong> Software Corporation may have patents and/or pending patent applications covering subject<br />

matter in this document. Please refer to the product CD or the About dialog box for the list of<br />

applicable patents. The furnishing of this document does not give you any license to these patents.<br />

COPYRIGHT © 1992-2004 <strong>Borland</strong> Software Corporation. All rights reserved. All <strong>Borland</strong> brand and<br />

product names are trademarks or registered trademarks of <strong>Borland</strong> Software Corporation in the<br />

United States and other countries. All other marks are the property of their respective owners.<br />

This product includes software developed by the Apache Software Foundation<br />

(http://www.apache.org/).<br />

This product includes software developed by Steve Viens and contributors. All rights reserved<br />

(http://juddi.org/).<br />

This product includes software developed by the MX4J project. All rights reserved<br />

(http://mx4j.sourceforge.net/).<br />

BES0065WW21002<br />

0102030405-987654321<br />

PDF

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

Saved successfully!

Ooh no, something went wrong!