Writing Web Applications With WAI: Netscape Enterprise Server/FastTrack Server, Version 3.0/3.01

[Next] [Index]

Writing Web Applications with WAI

Netscape Enterprise Server/FastTrack Server

Version 3.0/3.01

Contents

Who Should Read This Guide?
What's in This Guide?
Conventions in This Book

Chapter 1  Understanding WAI

Understanding Version Differences
Understanding CORBA
Understanding IDL
WAI Wrapper Classes
How Web Application Services Work

Chapter 2  Quick Start: Running the Examples

Running the Sample C Application (CIIOP)
Running the Sample C++ Application (WASP)
Running the Sample Java Application (WASP.Java)
Running the FormHandler Sample
About the FormHandler Class Example
Running the C++ FormHandler Sample
Running the Java FormHandler Sample

Chapter 3  Using WAI

System Requirements
Overview
Before You Use WAI
Understanding Security Issues
Understanding Version Differences
Converting CGI Applications to WAI
Setting Up the Web Server
Starting osagent (3.0 Servers Only)
Setting the Option to Enable WAI
Configuring the Web Server's ORB
Logging Status Messages
Compiling Applications and Server Plug-Ins
Compiling C/C++ Applications
Compiling C/C++ Server Plug-Ins
Compiling Java Applications
Running Applications
Setting Up Your Application with OAD
Using osagent with Java (3.0 Only)
Running Applications on Remote Machines

Chapter 4  Writing a WAI Application in C

Defining a Function to Process Requests
Getting Data from the Request
Sending the Response Back to the Client
Registering Your Web Application Service
Registering With a Web Server
Registering With an SSL-Enabled Server
Running Your Web Service
Summary of C Functions

Chapter 5  Writing a WAI Application in C++

Setting up Microsoft Visual C++ for use
with WAI (Windows NT only)
Declaring a Class for Your Web Service
Defining a Method to Process Requests
Getting Data from the Request
Sending the Response Back to the Client
Providing Information About the Service
Registering Your Web Application Service
Registering With a Web Server
Registering With an SSL-Enabled Server
Running Your Web Service

Chapter 6  Writing a WAI Application in Java

Declaring a Class for Your Web Service
Defining a Method to Process Requests
Getting Data from the Request
Sending the Response Back to the Client
Providing Information About the Service
Registering Your Web Application Service
Registering With a Web Server
Running Your Web Service

Chapter 7  Writing a WAI Server Plug-In

Writing an Initialization Function
Initialization in C
Configuring Your Web Server

Chapter 8  Security Guidelines for Using WAI

How the Server Finds Your Application
Potential Security Concerns
Recommended Guidelines
Enabling IIOP Connections from Other Machines
Configuring Your Web Server
(3.0 only) Running osagent

Chapter 9  WAI Reference

How to Use This Reference
Interfaces
netscape::WAI::HttpServerRequest
Methods
netscape::WAI::HttpServerContext
Methods
netscape::WAI::WebApplicationService
netscape::WAI::WebApplicationBasicService
Constructor
Methods
netscape::WAI::FormHandler

Chapter 10  Naming Services

C++ Classes for Naming Services (3.01 only)
Java Classes for Naming Services
Methods
netscape.WAI.NameUtil
Methods

Chapter 11  Troubleshooting Problems

Error: WAI Application Not Found
Error: Server Error
Error: Invalid Stringified Object Reference `'
Web Service Registration
listimpl
unregobj

Index


[Next] [Index]

Last Updated: 12/04/97 16:11:39


Copyright © 1997 Netscape Communications Corporation

Any sample code included above is provided for your use on an "AS IS" basis, under the Netscape License Agreement - Terms of Use