Choosing the Programming Language
WebObjects supports three languages:
- Java
- Objective-C
- WebScript
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:
- The Main component. A component in WebObjects represents a page in your application (or possibly part of a page). When you create your project, Project Builder provides you with an initial component called Main. The component's code file implements the behavior of the component.
- The application and session code files. Application code contains variables and methods that affect the entire application. Session code contains variables and methods that affect a single user's session.
Table of Contents Next Section