I now want to deploy this application onto a separate server. This is not a webapp.
Try as I might, Google will not point me in the direction of how to do this, apart from loads of links to Keter which is not what I want (there is no nginx or any other web server involved).