A Note on WebObjects Classes
True to its name, WebObjects is an object-oriented environment for writing web applications. Therefore, when you write a component, an application file, or a session file, you are really writing a class. This is true whether you use WebScript, Java, or Objective-C. You can learn about these classes and where they are used by reading the chapter "WebObjects Viewed Through Its Classes".Components are subclasses of a class named WOComponent. For example, in Figure 1 the component directory creates a WOComponent subclass named Main. Application files create subclasses of a class named WOApplication, and session files create subclasses of a class named WOSession.
WOComponent, WOApplication, and WOSession are defined, along with other classes, in the WebObjects Framework in NeXT_ROOT/NextLibrary/Frameworks/WebObjects.framework. (NeXT_ROOT is an environment variable defined at installation time. On Windows NT systems, it is C:\NeXT by default. On Mach systems, the NeXT_ROOT environment variable is undefined, but you can think of it as being the root directory /.)
Where the mapping is not obvious, this book notes both the Java and WebScript/Objective-C names.
Table of Contents Next Section