Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

Share this Page URL
Help

Chapter 7. Advanced CI tools and recipes > Configure: building (web) apps for m... - Pg. 207

Configure: building (web) apps for multiple environments 207 and a waste of resources, and that's why it's important to have tools that can seamlessly work with multiple frameworks, platforms, and tools, such as Jenkins and TeamCity. This leads to an effective toolchain that consists of one central CI server that inte- grates and works with different platforms and tools, such as Java and . NET . 7.3 Configure: building (web) apps for multiple environments --This section contributed by Max Antoni Java applications consist of artifacts such as EAR , WAR , or JAR packages. When develop- ing an application, you might want to do some integration tests and then deploy the application onto a test environment and into production. Deploying the application on one specific machine may require that you configure environment-specific applica- tion properties. But you often won't want to run the script on each environment indi- vidually because it takes too long and you want to rely on one specific version of the software. How can you support multiple environments and cope with runtime configura- tions? Generally, you have many options: Use the artifacts and manually configure them for each environment (bad!). Aggregate environment-specific data in Java properties, replacing them manu-