To execute the Java web jobs on Azure, follow the below steps :
1. Open Eclipse and create a Java Project and Java program for your application in your eclipse workspace.
2. After creating your application, create a batch file with following text –
java <Your Main Class name>
3. Bundle the batch file and your class files in a compressed zip file.
4. Create a Web App on Azure portal and upload your zip file to Azure using the steps mentioned at –
You can set the desired execution frequency for the web job as mentioned in the above blog.