Re:Ask HN: Why don't more web projects start with a JVM stack?
by ricardobeat on Thursday February 04, 2016 @10:21AM
(#11034449)
How do you deploy that to a server, let's say Digital Ocean? What kind of http server, proxies? Who/what starts and supervises the processes?
Re:Ask HN: Why don't more web projects start with a JVM stack?
by mcroft on Thursday February 04, 2016 @10:36AM
(#11034567)
There are docker containers available for most of these. Spring Boot is made by Pivotal too, so has native CloudFoundry support if you want a PaaS. Docker is likely the most portable, but if you're happy writing an init.d start script or something you'd just need to call:
java -jar /path/to/myapp.jar
Even a couple of years ago when this wasn't the case, it was still usually as simple as dropping your WAR in the autodeploy folder of your favourite app server (e.g. JBoss, WebLogic, GlassFish) - the main issue was that it was different for each app server even though it was (in theory) the same framework.