Once the development and testing is complete you can package applications for Publication using the options within the Publication tab. Within this tab you will be presented with a list of defined environments. You can publish to an environment using the Publish link or edit the details of an environment using the Edit link. You can also use the Create New Environment link to define new publication environments. Whether you are editing or creating a new environment you will be presented with the same information within the Environment Details page. The information will include the environment Name and Type. The predefined types should include Tomcat and WAR files. The Environment Types are defined within the publication_types.xml file within the common collection of the design repository. If you want to define your own environment types please contact Hyfinity for more details.
Required Parameters
The next section within the Environment Details page will display a list of Required Parameters. These parameters will depend on the target publication environment. For example, you will need a WAR filename and the output directory for the WAR environment.
Runtime Platform Configuration
The next link enables you to Configure the Runtime Platform for this Environment. Using this link you can configure the runtime platform parameters including scalability and logging parameters. For more details on these parameters please see sections Running and Debugging Applications and Application Deployment, Publication and Management within the WebMaker Overview . You will need to adjust these parameters because certain parameters will need very different behaviour during development and testing compared to the live environment. For example, you will need much more detailed logging during development compared to the live environment. You may also want to configure pooling settings to finely adapt the live runtime environment to better suit the usage patterns of a particular target environment.
Agent Configuration
The next section within the Publication tab is the Agent Configuration for this Environment. This section displays the agents that represent database connections, remote web service details and inter-project proxies. You can change the details for each of these agents in this section. You will typically do this to ensure the application is published with the correct runtime details for these agents that represent the live environment. These agents may have contained different values during design and testing.
Multiple Projects
The final section on this tab is Projects included in this Environment. Within this section you should see at least the currently selected project. You may also wish to Publish additional projects that are required for the overall published application. Within XDE you can define many projects that can be used to breakdown larger applications. these projects can be linked together via inter-projects proxies. Where an application is composed of multiple projects you should include all such projects within this section. This enables you to publish a single WAR file containing many different projects for example.
Please note that most of the environment setup and configuration needs to be setup only once and modified as necessary. Most of the time you will simply be selecting a publication environment and clicking publish.