O'Reilly logo

Oracle Web Applications: PL/SQL Developer's Intro by Andrew Odewahn

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

WebDB Architecture

Because WebDB uses the database’s native components, it is a scalable, powerful development tool for building content-driven sites on Oracle. Since it’s essentially written in the database’s native language, it eliminates the need for cumbersome layers like ODBC or JDBC.

WebDB’s dirty little secret is that its wizards are really just PL/SQL code generators that act on normal database objects. When you create a user with WebDB, you are really creating a corresponding database schema, just as you would for any other Oracle user. When you use the table wizard, you are really just filling in the pieces of a CREATE TABLE command. When you build a form, you are really creating a PL/SQL package. The options you enter into these wizards tell WebDB how to create the corresponding database objects.

WebDB is a standalone product that contains everything you need to create a complete application. Two built-in components—the PL/SQL gateway and the HTTP listener—make this possible. Figure 3.9 illustrates the relationships among the database objects, UI components, shared components, roles, users, the PL/SQL gateway, and the HTTP listener.

The components of WebDB

Figure 3-9. The components of WebDB

In the following sections, we’ll look at WebDB’s PL/SQL gateway and its integrated HTTP listener.

The PL/SQL Gateway

Once we’ve created our WebDB user interface components, we can use the PL/SQL gateway to execute ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required