Classes, Headers, Other sources – Apple WebObjects 3.5 Tools And Techniques User Manual

Page 17: Resources

Advertising
background image

The Structure of a WebObjects Application Project

17

Started With WebObjects for more information on using the Wizard with
databases.

4. Specify the language for your component and click Finish.

Classes

The Classes suitcase contains Java and Objective-C classes. If your
application’s primary language is Java, this suitcase contains the

Application.java

and

Session.java

files. If the primary language is Objective-C, it contains the

files

Application.m

and

Session.m

. There is a class file for each component that

uses Java or Objective-C, as well as any other classes you add to the project.

You can specify that Java classes are client-side, server-side, or common
classes. See “Subprojects” for more information on how to do this.

Headers

The Headers suitcase contains header files for projects that use Objective-
C.

Other Sources

The Other Sources suitcase contains compiled code that doesn’t belong to
a particular class.

Resources

The Resources suitcase contains files that are needed by your application at
run time, but which do not need to be in the web server’s document root
(and hence will not be accessible to users). It includes:

Advertising