Table of Contents Creating Applications

Creating Applications

Note: To create an application that has compiled code, use Project Builder instead of WebObjects Builder. See "Creating a Compiled WebObjects Application" in Getting Started.

To create a new application in WebObjects Builder:

  1. Choose File->New Application.

    The panel that opens shows you the contents of <DocumentRoot>/WebObjects (unless you have previously saved into a different directory). <DocumentRoot> is your HTTP server's document root, which you specified when you installed WebObjects.

  2. Enter a name for the application.

  3. Click Save to create the application directory.

WebObjects Builder creates the application directory AppName.woa, where AppName is the name you specified. Under AppName.woa, WebObjects Builder creates another directory called Main.wo for your first page, or component. (See "Layout of Application in the File System.")

An empty editing window for Main.wo opens along with an application window that lists all the components in your application. At first only Main.wo is listed in the application window.

Table of Contents Next Section