Clojure Components Demo
$ git clone https://gist.github.com/oubiwann/32a11597ea641fdb1dc6 \
components-demo$ cd components-demo
$ lein trampoline runThis will generate output like the following:
Starting the system ...
Starting HTTP server ...
Starting DB client ...
Starting app ...
Waiting for signal ...If you do nothing at this point, the demo will timeout:
Giving up ...
Shutting down the system ...
Stopping app ...
Stopping DB client ...
Stopping HTTP server ...If, however, you hit ^C or send an interrupt signal after the demo app has
started:
^C
Shutting down the system ...
Stopping app ...
Stopping DB client ...
Stopping HTTP server ...