beautypg.com

Launching webobjects builder, Launching webobjects builder 18 – Apple WebObjects 3.5 User Manual

Page 18

background image

Chapter 1

Creating a Simple WebObjects Application

18

3. Select Classes in the first column of the browser.

You’ll see three files listed in the second column:

Main.java

is a file that allows you to specify behavior associated with the

component. You do this by writing code in Java (since you specified Java as the
language when you created the project). You use Project Builder to edit this
file.

Application.java

and

Session.java

are other Java files that you may want to work with. In

Chapter 2, you’ll add code to

Application.java

and learn about application and

session variables.

Launching WebObjects Builder

Now that you’ve created your project, you’ll edit the Main component with
WebObjects Builder.

1. Select Web Components in the first column of the browser.

Your application’s
Java classes.

The Main component’s
code goes here.