Documentation Archive Developer
Search
PATH  Documentation > WebObjects 4.5 > Tools and Techniques

   

Installing Your Application

Some files in a web application (such as images and sounds) must be stored under the web server's document root in order for the server to access them. The remaining files (such as your components and source code) must be accessible to your application but not necessarily by the web server itself.

In previous versions of WebObjects, it was typical to store the entire project under the web server's document root. This practice has advantages for turnaround time during development. However, in deployment, it presents the possibility of allowing users access to your source code. WebObjects has a "split installation" feature that allows you to install only those files (such as images) that the web server must have access to under the document root. The remaining files can be stored elsewhere.

The same procedure applies to installing WebObjects applications and frameworks. To install:

  1. Click to open the Project Inspector.

  2. Under "Install In:", set the path where the application wrapper will be installed.

  3. In Project Builder's Build panel, click .

  4. From the Target pop-up menu, choose install . (By default, the target is set to woapp .)

  5. Click in the Build panel to install your application.

    The full application wrapper is copied into the "Install In:" directory, and a wrapper containing only the Web Server Resources is copied into the document root.

See Serving WebObjects for more information about installing your application.


© 1999 Apple Computer, Inc. – (Last Updated July 27 99)