Documentation Archive Developer
Search
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:

1. Launch Project Builder.
2. Choose Project New.
3. In the New Project panel, specify the project path where you want to save the project.

As with other Web Objects projects, during development you typically save your project in the WebObjects subdirectory of your web server's document root.

4. Click OK.

The WebObjects application wizard screen appears.

 
5. Under Available Assistance, choose Direct to Web.

Note: When you create a Direct to Web project, Java is the only available language.

6. Click Next.
 
7. Choose "Open existing model file."

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 .

Note: A complete and correct model file with all the right relationships defined is key to using Direct to Web.

8. Click Browse, then navigate to the model file you want to use.
9. Click Next.

The next screen asks you whether you want to launch your application now.

 

If you click "Launch Direct to Web now", the application launches and, by default, your web browser displays the Direct to Web login page. If you don't launch it now, you can launch it later from Project Builder, in the same way you would launch any other project. See Using Your Direct to Web Application describes what you see when you launch your application.

Table of Contents Next Section