4 ms·
Advantages: Easy to get a server running: just install tomcat or jetty on your production machine, sftp the war file and it automatically deploys. Init.d scri
by sunkencity 17y ago
Advantages:
Easy to get a server running: just install tomcat or jetty on your production machine, sftp the war file and it automatically deploys.
Init.d scripts are tricky to write and get right, by using a tested script from a distro things tend to work out of the box.
Monitoring -- easy to hook in some monitoring script that can reboot tomcat or jetty should the server stop responding.
Techops generally know how to deploy a .war file -- I would not feel comfortable telling someone to learn lisp just to deploy a webapp.
pretty interesting with swank -- need to look into that.
- arohner 17y agoThe war file and swank shouldn't be mutually exclusive, I just haven't bothered with a .war because by default Compojure starts Jetty itself, and I didn't want to bother with compiling the .war and restarting the server to test changes. Once you get addicted to reloading code from your IDE, you don't want to go back. :-)