&gt; <i>As you can see there’s nothing special here, but if you look closely you can see this application will only startup under specific conditions, which we’ll call the happy path. If the configuration file or working directory is missing, or the database is not available during startup, the above application will fail to start.</i><p>Why not let a PaaS do this for you? Heroku, Cloud Foundry, OpenShift or the others I&#x27;ve yet to learn about?<p>Disclaimer: I work for Pivotal who donate the majority of engineering effort to Cloud Foundry.