Executing Java Web Jobs on Azure
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 -
set PATH=%PATH%;%JAVA_HOME%/bin
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 -
https://azure.microsoft.com/en-us/documentation/articles/web-sites-create-web-jobs/
You can set the desired execution frequency for the web job as mentioned in the above blog.