Table of Contents Previous Section
Creating a Direct to Web Project
To create a Direct to Web application, begin by using Project Builder to create a WebObjects application project. Follow these steps:
- Launch Project Builder.
- Choose Project New.
- In the New Project panel, choose the WebObjectsApplication project type from the pop-up list and specify the project path where you want to save the project.
- Click OK.
- Under Available Assistance, select Direct to Web.
- Click Next.
- Choose "Open existing model file."
- Click Browse, then navigate to the model file you want to use and select it.
- Click Next.
- Click Finish to complete the WebObjects application wizard procedure.
The first screen of the WebObjects application wizard appears.
You cannot select a language when the type of WebObjects application is Direct to Web; when you create a Direct to Web project, Java is the only available language.
You can also create a new model file. If you choose "Create new model," you are led through a series of screens that prompt you to create a new model. For more information about creating a new model file, see the chapter "Using EOModeler" in Enterprise Objects Framework Developer's Guide.
If the model you add to your project references entities in another model, you must add the other model to your project manually. The wizard doesn't include it automatically.
If you are just exploring Direct to Web, you can use a model file from one the Enterprise Objects example projects, such as Movies.eomodel in the Movies project.
The next screen offers a selection of user-interface styles ("looks") for your Direct to Web application; see "The Different Looks for WebObjects Applications" for more information. Click an item in the browser to select a look.
Table of Contents Next Section