Deciding to use compiled code
Most WebObjects applications are written entirely in WebScript. However, you might decide that it's better to use compiled code instead. The primary reasons you use compiled code are:
- To boost performance
- To provide your own custom subclasses
If you write compiled code in Java, the entire application must be written in Java, including the component logic. If you use Objective-C, you can mix Objective-C and WebScript. That is, you can provide part of the application's logic as compiled Objective-C objects, and the rest of the application can be left in WebScript. You can also mix C and C++ code with Objective-C. See the section "Notes for Objective-C Developers" later in this chapter.
Note: Java support is only available on the Windows NT platform.
Table of Contents Next Section