With Windows Azure, you can use a virtual machine to handle compute-intensive tasks, such as a virtual machine that can handle tasks and deliver results to clients or mobile applications. This article will give you an idea of how to create a computer-intensive Java application that can be monitored by another java application.
This tutorial assumes you know how to create a Java console application, channel it into your Java application, and generate a Java archive (JAR). Suppose you have no knowledge of Windows Azure.
You will learn:
How to create a virtual machine
How to log on to your virtual machine remotely
How to install a JRE or JDK on your virtual machine
How to create a service bus namespace
How to create a Java application that performs compute-intensive tasks
How to create a Java application that monitors the progress of compute-intensive tasks
How to run a Java application
How to stop a Java application
This tutorial will use traveling salesman problem as a compute-intensive task. Here is an example of running a compute-intensive task in a Java application:
The following is an example of a Java application monitoring compute-intensive task:
Note
To complete this tutorial, you need a Windows Azure account that has the Windows Azure Virtual Machine feature enabled. You can create a free trial account to enable the preview function in just a few minutes.
(Responsible editor: The good of the Legacy)