Top
Direct To Web
Direct to Web is a technology that provides a quick and easy method of creating a web application that accesses a database. It lets you experiment and prototype, while also allowing you the flexibility to access the full power of WebObjects.
There are several stages you can go through, depending on your needs:
-
First, you create a WebObjects project and specify a
model
to use. Direct to Web uses the model, which defines the mapping between your database and enterprise object classes, to generate an application that provides an interface to your database. This application consists of a set of pages that allow you to do queries on the entities in your database, display results, and add and delete records.
-
To change the way the pages are presented, you can use the WebAssistant, which is a Java applet that runs in your web browser. For each page in your application, you can specify which properties are shown, how they are displayed, and the order in which they are listed. You can experiment with different configurations until you are satisfied, without writing any code.
-
If you want to do further customization beyond what the WebAssistant provides, you can "freeze" any or all of the pages in your application as WebObjects components. This gives you the full power of WebObjects: you can modify a component's layout using WebObjects Builder, and you can customize its behavior by writing Java code using Project Builder.
This document describes the elements that make up a Direct to Web application, and shows you the steps you follow when creating and modifying an application. See
WebObjects Tools and Techniques
for more information on using Project Builder and WebObjects Builder to develop WebObjects applications. For more information about using WebObjects with database applications, see "Creating a WebObjects Database Application" in
Getting Started With WebObjects
, as well as the Enterprise Objects Framework Developer's Guide.
First
Section