Where Things Go
NeXT_ROOT, the installation directory, depends on the platform you are using:
Platform
|
Installation Directory
|
Mach
|
/
|
Solaris
|
Defined at installation time.
|
Windows NT
|
Defined at installation time.
|
After you install WebObjects, you'll find the following items:
- NextDeveloper/Apps/WebObjectsBuilder.app contains the WebObjects Builder application (WebObjects Pro or Enterprise only).
- NextDeveloper/Examples/WebObjects contains several sample WebObjects applications.
- NextLibrary/WOAdaptors contains the WebObjects adaptors. If you have WebObjects Pro or Enterprise, this directory also contains adaptor source code, which you can compile for additional platforms.
- NextLibrary/WOApps is an empty directory when first installed. If you create applications that contain compiled code, you place the application's executable in this directory.
- NextLibrary/Executables contains WODefaultApp, the generic application executable.
- NextLibrary/Frameworks contains the WebObjects framework, the library of WebObjects classes. This is also where you find header files.
- NextLibrary/Java contains the Java classes provided by Sun and the Java interfaces to the classes in the WebObjects framework.
Your HTTP server does not access the adaptor in this directory. Instead, it accesses a link or copy of it in the server's <cgi-bin> directory.
If the application's executable is in WOApps, you can also place the application's entire .woa directory in WOApps. This ensures the .woa directory's privacy; if you place the .woa under the document root and outside users have read access on .wos and .wod files, they have access to the application's source. However, if the application imports any images or sounds, you must leave a "sparse" copy of the application in the document root so that the client's browser can find these resources. In this case "sparse" means that the application's directory structure is reproduced in the document root, but the only files it contains are the static resources that the server must dispense to a client's browser.
Note: Applications in WOApps must include the executable file. If you have a WebObjects application that relies on the generic application executable (NextLibrary/Executables/WODefaultApp) and you want to place it in WOApps, you can still do so. Copy WODefaultApp into that application's directory and name the copy after your application.
- <cgi-bin>/WebObjects is a copy of or link to the CGI adaptor NextLibrary/WOAdaptors/CGI/WebObjects (or WebObjects.exe).
- <DocumentRoot>/WebObjects/Examples is a copy of or link to NextDeveloper/Examples/WebObjects.
Table of Contents Next Section