Documentation Archive Developer
Search
Table of Contents Previous Section

Choosing the Programming Language

WebObjects supports three languages:

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.

Table of Contents Next Section