Issue
I am quite new to java applications in a production environment and have never deployed.
I have an application that connects to a mysql database, reads in data, preforms some NLP and other data manipulation, then saves the data back to the mysql DB.
The application is to be deployed on a rackspace cloud server and run every couple of hours (maybe with a cron job?).
I've been looking into using maven to help with the build for deployment, but I have no idea if that is the right tool to use or if to build a .war or .jar.
Solution
Basics - Deploy as an executable Jar if at all possible (or some kind of executable container). Will simply make your life simpler when it comes to things like setting up the class path.
I've not used Maven before, but we are looking into to help us manage a rather large and cumbersome dependency chain. As I understand, Maven's build process is rather good, but again, I've never used it.
Answered By - MadProgrammer
Answer Checked By - Senaida (JavaFixing Volunteer)