Previous | Table of Contents | Next

Page 555

Week 3

Day 21

Oracle: The Next
Generation

The purpose of this last lesson is to explore three topics:

Also, you probably will want to read Bonus Day 23, "Oracle8: New Features," which discusses new features of the Oracle8 server that are of interest to database designers and application developers.

Page 556

Connecting an Oracle Database to the
Web: Using Oracle WebServer

In 1995, Oracle Corporation introduced a product that allowed access to an Oracle database from a Web browser: Oracle WebServer. The initial version of WebServer consisted of several components:

NOTE
The examples shown in this lesson are based on creating a WebServer application that invokes a stored procedure written in PL/SQL. This stored procedure will dynamically generate the HTML needed to display the contents of the Student table.

Since then, Oracle WebServer has been significantly enhanced. The current version, 3.0, is designed to support the Network Computing Architecture, Oracle's major initiative to provide an open, platform-independent, object-based, Web-based, distributed computing architecture.

Today, you look at the configuration of WebServer 3.0. You also build a few dynamic Web pages through the use of Oracle stored procedures that invoke components of the htp and htf packages.

Elements of the Oracle WebServer

The Oracle WebServer consists of several major components:

Page 557

The Oracle WebServer must be installed on a server such as Solaris, HP-UX, or Windows NT. After you perform the initial installation, you can complete the installation and configuration with a Web browser. To do this, the initial URL you should use is http://server-name:8888 where server-name is the name of the server, including its domain. As you can see in Figure 21.1, the initial Web page will display nine links that you can choose from.

Figure 21.1.
Initial WebServer
administration page.

Page 558

NOTE
To access the Web pages shown in this lesson, you need to know the admin password that was specified during the installation of Oracle WebServer.

If you select the Web Application Server Manager link, another Web page will appear containing three links (see Figure 21.2):

Figure 21.2.
Viewing the Web
Application Server
Manager.

Web Listener

To configure the Web Listeners, select the Oracle Web Listener link as displayed on Figure 21.2. The page that appears is labeled Oracle Web Listener Administration. If you scroll down on that page, you will see two Web Listeners displayed: admin and www. Both of these Web Listeners are created during product installation. However, the admin Web Listener must be running to perform any other administrative tasks.

Page 559

You can reconfigure the www Web Listener by selecting the CONFIGURE link. A page, titled Oracle Web Listener Advanced Configuration for Listener www, will appear. If you want to add another Directory Mapping, you can scroll down the frame on the right until you see the heading Directory Mappings. You probably will want to add a directory mapping to this list for each Web Agent that you plan to create. For example, Figure 21.3 displays a directory mapping, /flugle/owa, that will be used for the Flugle College Web agent that will be created shortly. Scroll down to the Modify Listener button and click it. To return to the previous page, you can click the Admin button on the bottom frame.

NOTE
After you modify a Web Listener, you must restart the Web Listener—stop it and start it—for the changes to take effect.

Figure 21.3.
Creating a directory
mapping for the www
Web Listener.

Web Application Server Administration

To access the Web Application Server Administration page, select the Web Application Server link (as shown previously on Figure 21.2). Another page, titled Oracle Web Applica-tion Server Administration, will appear. As you can see in Figure 21.4, there are nine links displayed on this page:

Authorization Server With this component, you can define Authentication Schemes to be used with the Web Application Server, including Basic, Digest, and IP-based.

Previous | Table of Contents | Next

Используются технологии uCoz