Documentation Archive Developer
Search
Table of Contents Previous Section

Choosing the Programming Language

WebObjects supports three languages:

Java and Objective-C are compiled languages. WebScript, which is based on Objective-C, is a scripted language. A scripted language allows you to make changes to your application while it is running. When you use compiled code, your application runs faster, but you must build your application before running it.

Java files have the extension .java, Objective-C files have the extension .m, and WebScript files have the extension .wos.

The language you choose in the Wizard applies to the following files:

If, for example, you specify Java as your primary language, the Wizard will create the files Application.java, Session.java, and Main.java for you. You can mix languages in a project by choosing a different language when you create other components.

Table of Contents Next Section