beautypg.com

Choosing the programming language, Choosing the programming language 16 – Apple WebObjects 3.5 User Manual

Page 16

background image

Chapter 1

Creating a Simple WebObjects Application

16

9. For Available Assistance, choose None.

If you are developing an application that accesses a database, you may wish
to use one of the levels of assistance that WebObjects provides. For more
information on these options, see Chapter 3, “Creating a WebObjects
Database Application” (page 59).

Choosing the Programming Language

WebObjects supports three languages:

Java

Objective-C

WebScript

Java and Objective-C are

compiled

languages. They require you to build your

application before running it. WebScript, which is based on Objective-C, is a

scripted

language. It allows you to make changes to your application while it is

running.

When you create a new project, Project Builder provides you with a

component

called Main. In WebObjects terminology, a component represents a page in your
application (or possibly part of a page).

In the Wizard, you specify the language you’ll use to program your Main
component, as well as the

application

and

session

code files (which will be

described later).

1. For the primary language, select Java.

Later, you’ll create an additional component for your application and write
its code in WebScript.

2. Click Finish.

Project Builder creates a new application directory called

GuestBook

. This

directory contains the files you work with in both Project Builder and
WebObjects Builder.