I am new to the java/scala stack in general. So far I have a relatively simple scala application (not a webapp) setup and built build with maven2, and I'd like to be able to deploy the output to one or more production server (ubuntu on EC2, but that shouldn't matter I assume)?
My main questions are: 1) What's the best way to get all the dependent (third-party) jars installed on the production server? maven takes care of installing them on my development box, how does that work in prod? 2) I can run my app with mvn scala:run, but what's the right way to start the app in production? 3) How do I deal with subsequent deployments?
Any pointers/resources will be appreiated! Thanks a bunch in advance for helping a noob! :)