1.1 Introduction To Developer/2000 For The Web
1.1 Introduction To Developer/2000 For The Web
Tier Hardware
front-end any number of client desktop machines
middle one or more application servers
back-end one or more database servers
1
See Section 3.2.8, “Feature restrictions for Forms on the Web.”
2
Java 1.1.1 or higher
■ Web The Forms Server Runtime Engine (and all application logic) are installed
on application servers, not on client machines. All trigger processing occurs on
database and application servers, while user interface processing occurs on the
Forms Client.
name, and so on) and any user-defined Forms parameters are passed to the
process by the Listener.
5. The Listener establishes a direct socket connection with the Runtime Engine,
and sends the socket information to the Forms Client. The Forms Client then
establishes a direct socket connection with the Runtime Engine. The Forms
Client and Runtime Engine then communicate directly, freeing the Listener to
accept startup requests from other end users. The Forms Client displays the
application’s user interface in an applet window outside the main window of
the end user’s Web browser.
6. As in a client-server implementation, the Runtime Engine communicates
directly with the database through SQL*Net (or another driver, for non-Oracle
datasources).
1.4.1 Dynamic Reporting with the Web Cartridge or Common Gateway Interface (CGI)
To enable end users to generate reports dynamically from a Web browser,
Developer/2000 for the Web provides a Reports Server suite that includes the fol-
lowing components:
■ The Reports Multi-tier Server (R25MTS), which enables you to run reports on a
remote server.
■ The Reports Web Catridge (R25OWS), which sends requests from the Web
server to the Reports Multi-tier Server if you are using the Oracle Web Applica-
tion Server.
■ The Reports Web CGI (R25CGI), which sends requests from the Web server to
the Reports Multi-tier Server using standard CGI.
1.4.1.1.1 About the Reports Multi-tier Server The Reports Multi-tier Server enables you
to run reports on a remote, application server. When used in conjunction with the
Reports Web Cartridge or Web CGI, it also enables you to run reports from a Web
browser using standard URL syntax. The server can be installed on Windows NT,
Windows 95, or Unix. It handles client requests to run reports by entering all
requests into a job queue. When one of the server's runtime engines becomes avail-
able, the next job in the queue is dispatched to run. As the number of jobs in the
queue increases, the server can start more runtime engines until it reaches the maxi-
mum limit specified when the server process was started. Similarly, idle engines
are shutdown after having been idle for longer than a specified period of time. You
can monitor and administer the job queue on Windows using the Reports Queue
Manager (R25RQM32.EXE). On Unix, you can use the Reports Queue Viewer
(R25RQVM)
1.4.1.1.2 About the Reports Web Cartridge The Reports Web Cartridge is a library (on
Windows NT, a dynamically linked library or .dll file, on Sun Solaris, a shared
library or .so file). It performs the same functions as the Reports Web CGI, but it
has the advantage of native integration with the Oracle Web Application Server.
Once installed, it is always up and ready. The CGI executable has to be started up
every time it is invoked. The cartridge typically resides in the $ORACLE_HOME/
bin directory and is installed using the Web Request Broker of an active Oracle Web
Application Server Listener.
1.4.1.1.3 About the Reports Web CGI The Reports Web CGI provides a standard CGI
connection between a Web server and the Reports Multi-tier Server. This connec-
tion enables a Web client to run reports using standard URL syntax and see the out-
put on the client's Web browser. R25CGI is designed to run under WWW CGI v1.1.
1. The Web browser passes the URL to the Web server, and the Web server sends
the request to the Reports Web Catridge or CGI.
2. The Reports Web Catridge or CGI parses the request and converts it to a com-
mand line that can be executed by the Reports Multi-tier Server. Then it sub-
mits the command line to the specified Reports Multi-tier Server
(synchronously).
3. The Reports Multi-tier Server queues the job request from the Web Cartridge or
CGI and, when one of its runtime engines becomes available it runs the report.
4. The Reports Web Cartridge or CGI retrieves the name of the report output
from the server and creates HTTP redirection to the output file.
5. The Web server executes HTTP redirection, passing the new URL back to the
Web browser, and the report is displayed on the client.
Requests are initiated on the client side by direct URL submission, mouse-clicks in
the display region, or HTML-form submit requests. All requests are passed as one
of the following:
■ A simple URL
■ A parameterized URL containing special keyword arguments similar to those
used in Graphics Batch (for example, userids or values for user-defined parame-
ters).
Responses are returned as one of the following:
■ An HTML form functioning as a Graphics Web interface
■ An HTML form containing an image of the requested display
For more information about URL submission to the Graphics Server, see Section
1.5.3, “Running Graphics displays on the Web.”.
The first method provides an efficient method for browsing through, and selecting
from, a list of displays. The second enables the user to use Graphics parameters
specifications to:
■ Embed Graphics displays in custom-HTML pages.
■ Execute PL/SQL code contained in displays.
■ Supply additional information (such as userids, or values for user-defined
parameters) in display requests.
■ Customize the Graphics Web toolbar.
1.5.3.1 Accessing Graphics displays via the Graphics Web interface toolbar
The easiest way to access a Graphics display is through the Graphics Web interface
toolbar. To use this method, the user points the web browser to the simple URL
that invokes the toolbar. For example:
http://my_server/ogweb
The following sequence then occurs:
6. The client passes the URL to the Web server.
7. The server’s Web Request Broker forwards the request to the Graphics Server.
8. The server returns an HTML-form that functions as the Graphics Web interface
toolbar.
9. On the toolbar, the user enters a username and password to connect to the data-
base, selects a display from the list of available displays, and clicks Open. This
causes the browser to submit a request in the form of a parameterized URL sim-
ilar to the following:
http://my_server/ogweb?openfile=my_display.ogd&userid=scott/
tiger@og73&my_parameter=my_value
10. The Web Request Broker forwards this request to the Graphics Server.
11. The server returns an HTML page containing the requested image.
12. Each time the user executes an event--for example, by clicking the mouse in a
display region--the client generates another request. Events are relayed via
automatically-generated parameterized URLs containing keywords describing
the details of the event (for example, mouse X and Y positions).
The following table defines the valid keywords and specifies the range of possible
values for each:
Note: All URL submissions to the Graphics Server must use the standard URL for-
mat of changing spaces to +, and encoding special characters with %xx hexadeci-
mal encoding. For more information about encoding URLs, see the W3C (World
Wide Web Consortium) document “Names and Addresses, URIs, URLs, URNs,
URCs” at http://www.w3.org/pub/WWW/Addressing/Addressing.html.