Label: spring

All content with label spring.
Related Labels: maven, deployment, mvnprofileexample, configurationtactic

Page: Advanced Spring configuration (KM: Software Development)
Drivers The generated artifact should be the same regardless of the target environment. This means that any deployment configuration must be runtime, not buildtime. Keep configuration as close to the bean that needs it as possible. Selfconfiguring beans should be preferred. Minimize the number of properties that must be set ...
Other labels: configurationtactic
Page: Change environment at build-time using profiles (KM: Software Development)
Background Deployment configuration like username, passwords, urls, etc. should never be included in artifacts. The output of a build should be environment independent! However, it is quite useful to be able to test an artifact in different environments without too much hassle ...
Other labels: maven, deployment, mvnprofileexample