Create a project
Now that Project Builder and WebObjects Builder are set up correctly, you are ready to create the application. To create a Java application, you need to create it both as a WebObjects Builder application and as a Project Builder project.
- In WebObjects Builder, choose File New Application.
- Type Registration as the application's name, and then press Enter.
- Relaunch Project Builder, and then choose Project New.
- Select WebObjectsApplication from the Project Type pop-up list.
- Click the Browse button.
- In the Open panel that appears, navigate to the Registration.woa directory (the application you created in step 2), which is under <DocumentRoot>/WebObjects, and click Open.
- Type PB.project in the File name field and click Save. (PB.project is a file Project Builder uses to record information about your project.)
- Click OK.
If you browse through the project in Project Builder's main window, you'll find these files:
- Application.java and Session.java under Other Resources
- Application.woo, Session.woo, and WOProject.plist under Other Resources. (These are files maintained by WebObjects and WebObjects Builder.)
- Main.wo under Interfaces
- Project makefiles under Supporting Files
Table of Contents Next Section