Basic 'hello world' java 'command line' program.
You can sign up for a Modulus account here: https://my.modulus.io/register
Once logged in you will see a project dashboard where you may select 'Create New Project.' Select the 'Java' runtime. Select '192MB' servo size. Create Project.
Download the source and change the helloJava1.war file to 'ROOT.war' Put the newly renamed ROOT.war file in a zip file with the app.json file. Upload the zip file on the project dashboard