| Red Hat Docs > Manuals > Red Hat Applications > |
This section contains instructions on how to compile WAF from the WAF development RPMs or ZIP distributions. The WAF development environment has everything you need to write Java webapp code, test it, view the results, and deploy your finished code to a production environment. This section will give you enough information to go through this entire process, provided you have:
Experience writing Java and using the WAF APIs; this is not a guide to writing WAF code;
Experience developing in a UNIX environment. While it is possible to develop WAF code in this environment using a Java IDE, this guide does not cover that situation.
The entire development environment works together to configure your server, handle version control, and provide a set of tools and aliases to help you speed development. These features include:
Automatic setup of multiple development environments for different developers on the same project, or even different developers working on multiple projects.
Automatic creation of server startup and shutdown scripts for each developer on each project, and automatic assignment of distinct port numbers for each developer on each project.
Easy upgradability of existing code base. Upgrading the WAF release your project is based on is as simple as obtaining a new WAF RPM/ZIP, installing it with a single update command, generating new configuration files, and deploying. The same goes for servlet container code, build code, and so on.
Before you begin, you should review Chapter 2.
You will need the following RPMs to install the WAF development environment. Version numbers may change; if the version numbers listed here are out of date, try the latest version, falling back to the versions listed here if you encounter problems.
The following lists the RPMs in the order they should be installed:
These set up the bare development environment, with no underlying project code:
ccm-config-1.0.27-1.noarch.rpm
ccm-devel-1.1.3-1.noarch.rpm
This is the code base and documentation you will be developing on top of -- you may be using a different version or an entirely different RPM, depending on the project you are developing.
ccm-core-devel-5.1.11-1.noarch.rpm
ccm-core-doc-5.1.11-1.noarch.rpm (The doc RPMs are optional, but are recommended if you want local access to the Javadoc for your code base. Note that the build system will also generate javadoc for you.)
ccm-cms-devel-5.1.9-1.noarch.rpm
ccm-cms-doc-5.1.9-1.noarch.rpm
ccm-ecm-devel-1.0.0-1.noarch.rpm
ccm-ecm-doc-1.0.0-1.noarch.rpm
The ZIP format packages the entire development environment into one ZIP file.