System Installation
   
       
1
 
The zeroCode system has two major components - the zeroCode Development Environment (ZDE) and the run-time environment that sites run in. The initialization and running sequence for the two segments are similar, although not identical. Note that the ZDE only runs on a Linux box, although we plan to evaluate Unix based installations in the future. The run-time(i.e. the site which is constructed), on the other hand, is complete Java-based and runs on any Pure Java platform. It has been tested successfully on Linux and NT. Unix evaluation will follow soon.
 
On a Linux box that runs the ZDE and some sites, there are multiple instances of Apache running - one for ZDE and one for each site. When a site is deleted from the list of available sites, the Apache configuration files are appropriately updated and the site directories are deleted. Note that the site servers have to start after the Oracle listener for that site - JDBC has a bug that causes a "broken pipe" error otherwise.
 
The ZDE
When Apache is started for the ZDE, the command in the script gives Apache the name of the zdeServer.conf file as the configuration file to use. Specified in there are the following items of information, along with other (minor?) entries in the file that are not included below:
The IP address of the server
The port address that the ZDE is available at (8080)
The default directory for the Apache server
A file to record the PID of the Apache instance
The root directory for the ZDE pages
The error log to use for Apache errors
The file to use for logging access to Apache
The Aliases section, where every site has an entry for the style-sheet, JavaScript and images directories
The directive to include the Java Servlet configuration file
The rewrite rule that tells the system to redirect all accesses to the URI udmBuilder/*
 
The Java servlet configuration file (zde_jserv.conf) includes the following information:
The mount point for a zone called zDE
The directive to include the ZDE jServ properties file (zde_jserv.properties)
 
The zde_jserv.properties file contains
The definition of the ZDE zone, along with the root
The major third-party components that ZDE uses - the JDBC drivers, FreeMarker, etc.
The name of the Java log file
A reference to the properties file for the ZDE site - zde.properties
 
       
1