HP e3000 web server CGI programming
Jazz home
>
Papers & Training
HP e3000 web server CGI
programming
» Return to original page
Introduction
Over the past two years the World Wide Web has experienced a phenomenal surge in popularity.
The contributing factors to the popularity of the Web are its inherent client/server architecture; its
ability to make physical location and underlying platform incompatibilities transparent to users; and
the simplicity with which information can be accessed through a browser such as Netscape Navigator
or Microsoft's Internet Explorer. The browser offers a ready-made graphical user interface which is
capable of interpreting HyperText Markup Language (HTML) documents. HTML is a tagging
language used to create Web documents. For more information on HTML, visit
<http://www.ncsa.uiuc.edu/General/Internet/WWW/HTMLPrimer.html >
The availability of HyperText Markup Language (HTML) authoring tools combined with the Web's
tremendous reach has made it easy for almost anyone to publish for a global audience. Companies
are recognizing the need to capitalize on the wide ranging business opportunities offered by the
World Wide Web. Although the information published on the Web is multimedia format, the majority of
Web pages today simply provide access to manually-maintained "static" documents. This limits
business activity
Figure 1. Static Web Page
For example, there are many possible business applications (such as retail and distribution) which
could be deployed to the external (Internet) Web, as well as to a company's internal network
(Intranet). Static documents would still to be periodically updated. Instead, businesses require the
ability to implement "dynamic" on-line applications, integrated with legacy systems and databases
where the
business data is currently located.
The purpose of this paper is to explain the technology and tools available to access data via an HP
3000 web server and integrate existing or create new HP 3000 applications with a web server.
Initially your Web server (either internal or external) may be serving web pages containing information
which does not
change often. These are static documents (text files). Now, let's say you want to
connect a database to the Web, to allow people in your organization (or the world) to query it. What is
the mechanism to do this? The native mechanism is the Common Gateway Interface (CGI). CGI is a
standard protocol for interfacing external applications with Web servers. A CGI program is executed,
in real-time, so that it can output dynamic information. So, to connect to the database, you need to
Page
1
of
10
HP e3000 Web Server CGI Programming
7/18/2008
http://www.hp.com/cgi
-
bin/pf
-
new.cgi?IN=http://jazz.external.hp.com/papers/cgi
-
paper/cg
...