Documentation Archive Developer
Search
PATH  WebObjects 4.0 Documentation > WebObjects Tools and Techniques

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, choose the WebObjectsApplication project type from the pop-up list and specify the project path where you want to save the project.

  4. Click OK.

    The first screen of the WebObjects application wizard appears.

  5. Under Available Assistance, select Direct to Web.

    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.

  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.

    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.

  8. Click Browse, then navigate to the model file you want to use and select it.

    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.

  9. Click Next.

    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.

  10. Click Finish to complete the WebObjects application wizard procedure.
You can now launch the Direct to Web application from Project Builder, in the same way you would launch any other project. "Using Your Direct to Web Application" tells you how to launch your WebObjects application and describes what you see when you launch it.

Table of Contents Next Section