View Source

h3. Licensing

The source code for Web Server is released under the BSD License as linked [here|BSD License].

h3. Build Instructions

Instructions for checking out and building the source code on various platforms can be found [here|Checkout and Build Instructions].

h3. Browsing the Source Code

The Open Web Server source code can be browsed online via the OpenSolaris Project's source browser [here|http://src.opensolaris.org/source/xref/webstack/webserver/|Browse the source].

h3. 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 |

h3. 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|Features Comparison].

The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

Copyright 1994-2009 Sun Microsystems, Inc.
Powered by Atlassian Confluence
Sun Guidelines on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact