beautypg.com

Specifying a model file, Specifying a model file 66 – Apple WebObjects 3.5 User Manual

Page 66

background image

Chapter 3

Creating a WebObjects Database Application

66

5. Type

Movies

in the “File name” field.

6. Click Save.

7. In the New Project panel, click OK.

This starts the WebObjects Application Wizard.

8. Choose Wizard under Available Assistance.

With this option, the wizard guides you through the creation of a Main
component for your application. When you finish, you can immediately
build and run your application without performing any additional steps
and without adding any code.

9. Choose Java as the primary language.

10. Click Next.

Specifying a Model File

A model associates database columns with instance variables of objects. It also
specifies relationships between objects in terms of database join criteria. You
typically create model files using the EOModeler application, but the wizard
can create a first cut at a model as a starting point. Later on, you’ll use
EOModeler to modify the model created by the wizard.

1. Choose “Create new model.”

2. Click Next.

Select this option.