Oracle Discoverer Oracle Discoverer 3i Viewer Configuration Guide for Oracle Internet Application Server for Unix
Release 3.3.57.25

A86662-01

Contents

Index

Prev Next

1
Overview of Oracle Discoverer 3i Viewer

1.1 Introduction

Oracle Discoverer 3i Viewer is a business intelligence tool for viewing workbooks created by users of the client/server or web releases of Discoverer Plus (previously known as Discoverer User Edition). Using Oracle Discoverer's easy to use interface via a web browser, users can access and analyze database data.

Oracle Discoverer 3i Viewer is straightforward to set up and maintain. Oracle Discoverer 3i Viewer can be used to integrate database output into your web site and portal and is easily customized to fit in with your web site look and feel, or to build custom Discoverer applications for the web. Oracle Discoverer 3i Viewer is also optimized for performance and designed to minimize network traffic.

This chapter provides an overview of the Oracle Discoverer 3i Viewer architecture, describes the components and illustrates how Oracle Discoverer 3i Viewer works to give data access to users.

1.2 Oracle Discoverer 3i Viewer and Oracle Internet Application Server

Oracle Discoverer 3i Viewer is installed as part of Oracle Internet Application Server (iAS). The default installation is a single machine installation (i.e. all the Discoverer components are installed on a single machine).

1.3 Oracle Discoverer 3i Viewer in context

Oracle Discoverer 3i Viewer can be used to view workbooks created by Discoverer Plus on client/server or the web. The deployment of Oracle Discoverer 3i Viewer is best understood by looking at its context (see Figure 1-1).

Figure 1-1 Oracle Discoverer 3i Viewer components in context


Oracle Discoverer 3i Viewer is deployed using an Internet computing architecture that sits on top of the existing Discoverer Services.

Oracle Discoverer Services works with the Oracle iAS HTTP listener to provide a robust, scalable deployment platform for the Oracle Discoverer 3i Viewer.

1.4 The n- tiered architecture of Oracle Discoverer 3i Viewer

The n-tiers of Discoverer are as follows:

This architecture takes advantage of the distributed nature of the web environment.


Important:

The Discoverer End User Layer must be in the database before you can configure client access rights and privileges. You must also first install the Discoverer Administration Edition (v3.1.36 or later). 


Figure 1-2 The four tiered architecture of Discoverer 3i Viewer

1.4.1 First tier - the Client

The first tier is the client--a user's computer. There is no setup or installation to do on the client machine, nor does this machine need to have access to any database. The only requirement for this computer is that it can run HTML through a web browser, such as Microsoft Internet Explorer 4.01 or Netscape Navigator 4.0. By accessing the URL that you (the Discoverer administrator) provide, users can connect and run Oracle Discoverer 3i Viewer to view data.

1.4.2 Second tier - the HTTP Server

The second tier is the HTTP Server having the Discoverer 3i Viewer Servlet installed in the HTTP Server's Servlet engine. The Locator must be accessible from the HTTP server.

1.4.2.1 What is a Servlet?

A Servlet comprises modules of Java code that run as a server application to answer HTTP requests (hence the name "Servlets", similar to "Applets" which are used on the client side). The Servlet minimizes any client-side processing.

1.4.2.2 What is a Servlet Engine?

A Servlet Engine comes as part of (or a plug in to) an HTTP Server and is the environment in which the Servlet runs. The Servlet Engine incorporates a Java Virtual Machine (JVM) and implements the Java Servlet API.

1.4.2.3 HTTP Server Components

The HTTP server (Servlet engine) contains the following components:

1.4.2.3.1 Discoverer Servlet

The Discoverer Servlet generates HTML pages from HTTP requests using an XSL processor.

1.4.3 Third tier - Discoverer Services

The third tier is the Discoverer Services. The Server consists of three basic components: the Locator, the Session, and the Preferences.

The components are installed on one or more application servers. You can install Discoverer Services on one machine or across many machines. For more information on install Discoverer Services across multiple machines see the release notes.

In addition, two CORBA (Common Object Request Broker Architecture) components from VisiBroker--an Object Activation Daemon (OAD) and a SmartAgent component--are also installed. These CORBA components are responsible for activating new components and providing a location service whenever the user requests to begin a Discoverer session.

1.4.3.1 Discoverer Services Components

The Discoverer Services contains the following components:

1.4.3.1.1 The Session Component

A Discoverer server session is created for each user and performs all the business intelligence of Discoverer 3i Viewer for a given user. Once a session is started, it is the user's instance of Discoverer 3i Viewer. The Session component contains all of the application logic and performs all of the Discoverer operations such as connecting to the database or opening a workbook.

Machines with a Session component installed can run multiple concurrent sessions for clients.

1.4.3.1.2 The Locator Component

The purpose of the Locator is to receive a request for a session from the Servlet (the request is initiated after a URL is sent to the Servlet from the client browser), find the next application server, start a new session, and return a reference for the new session back to the Servlet. Once the Servlet has received this reference, the Servlet and the session communicate with each other and the Locator waits for the next request. The Locator component is installed on the HTTP server. You need only one Locator component on the network for the Discoverer Services.

1.4.3.1.3 The Preferences Component

You should only have one Preferences component for a Discoverer Services environment. So if you have five machines running Discoverer Services, the Preferences component should only be running on one of them. Preference settings are used by Discoverer Services to dictate certain aspects of behavior.

1.4.4 Fourth tier - the database

The fourth tier of Discoverer is the database. The database contains the data users want, the End User Layer (EUL) that provides an easy to understand view of the data, and the Discoverer workbooks that users can work with to view and analyze the data. The EUL is created and maintained with the Discoverer Administration Edition.


Note:

Before users can use Discoverer 3i Viewer to view data, the database must contain a Discoverer 3.1 EUL. You must create or update the EUL with Oracle Discoverer 3.1.36 or later of the Administration Edition for Windows95/98/NT. If you are currently using Discoverer 3.0.8, you need to upgrade to Discoverer 3.1.36 or later. If you are using Discoverer 3.1.25, you need to install the Discoverer 3.1.36 patch. Discoverer 3.1.36 is Y2K compliant and assures that your EUL and software will work correctly in and beyond the year 2000. 


1.5 How Oracle Discoverer 3i Viewer Works

This section describes how Oracle Discoverer 3i Viewer works--from the point when the user launches the browser on the client computer to when data access becomes available. The following figure illustrates the basic process.

1.5.1 The Oracle Discoverer 3i Viewer process

Figure 1-3 The Discoverer 3i Viewer process

1.5.2 Oracle Discoverer 3i Viewer Architecture

Figure 1-4 The Oracle Discoverer 3i Viewer Architecture

1.5.3 Invoking Oracle Discoverer 3i Viewer

Oracle Discoverer 3i Viewer is invoked via a URL from a standard web Browser.

The URL is processed by a Servlet running in the Servlet engine. The Servlet uses the Locator to communicate with the Discoverer Services.


Note:

The Discoverer Services can be used by both the Oracle Discoverer Plus and Oracle Discoverer 3i Viewer, this means that the Discoverer Services need only be installed once for both applications. 


1.5.4 Processing the HTTP request

The Oracle Discoverer 3i Viewer Servlet interprets the HTTP request from the client browser, and makes the necessary calls to the Discoverer Services.

The server response represented in XML is generated by the Servlet and sent to an XML/XSL processor.

XML/XSL processor combines XML with an XSL configuration file that defines the representation of the User Interface and generates the output (e.g. HTML) to send back to the browser.

1.5.4.1 Application and Presentation Logic

The Oracle Discoverer 3i Viewer is composed of two primary layers - the application logic and the presentation logic.

The application logic manages the handling of the HTTP request, the state of the Discoverer Services, and generates the XML representing the logical state of the Discoverer server and the data for a given client.

The presentation logic takes the XML and uses XSL to generate a response in a given format (e.g. HTML, MicroSoft Excel, XML etc.). The presentation logic can be customized to alter the appearance of user interface (by editing XSL files). See Chapter 4, "Customizing Oracle Discoverer 3i Viewer" for details.

1.5.5 Scalability and load balancing

The Oracle Discoverer 3i Viewer Servlet and Discoverer Services are automatically installed to run on the Oracle Internet Application Server as a single machine installation. However they are designed to be deployed on multiple machines (See the release notes for further information). The Discoverer Services can be replicated by specifying the machines available to Discoverer in a configuration file. Discoverer Services sessions are then started on alternate machines to balance the load.

In this way very large numbers of Discoverer Users may be supported, since there is no single bottleneck. Multiple Discoverer sessions can run on a single machine, or can be spread across multiple machines as required.

The Discoverer 3i Viewer servlet can also be distributed.

Figure 1-5 Using multiple Discoverer Application Servers for scalability

In Figure 1-5 two HTTP servers are used to spread the load for three browser sessions. There are three server machines, with Discoverer Services running on each. In a real system there would be many users using each HTTP and application server. Discoverer allows you to determine exactly how you want to spread the load across the available machines.


Prev Next
Oracle
Copyright © 2000 Oracle Corporation.

All Rights Reserved.

Contents

Index