Licensing
The source code for Web Server is released under the BSD License as linked here.
Build Instructions
Instructions for checking out and building the source code on various platforms can be found here.
Browsing the Source Code
The Open Web Server source code can be browsed online via the OpenSolaris Project's source browser here.
Source Tree Layout
The following table describes the layout of the top-level of the webserver Mercurial repository. Please refer to the Checkout and Build Instructions for information on how to checkout the source code for Open Web Server.
| Directory | Description |
|---|---|
| make | Contains build rules and macros for each platform |
| schema | Contains the schema definition file for the main configuration file - server.xml |
| src | Top-level directory containing server source files |
| templates | Contains configuration file templates, script templates that are used to create a web server instance when installing the server |
| internal | This directory is created and used by the build framework to store header files etc that are generated during the build. |
| work | This directory is created during the build and it hosts the installed web server instance |
The following table describes the sub-directories of the src directory in the Mercurial repository for webserver.
| Directory | Description |
|---|---|
| java | Contains the schema-to-C++ code generator for parsing server.xml |
| server | Contains the "core" server components |
| support | Contains the source code of ancillary/support libraries used by server components |
| tools | Contains miscellaneous tools |
Open Web Server Components/Subsystems
Not all of Sun Java System Web Server 7.0's features have been open sourced. A comparison of components and features from the open source project and the commercial product is here.