&http://www.aliyun.com/zixun/aggregation/37954.html ">NBSP;
With Windows Azure, you can use a virtual machine to handle compute-intensive tasks, for example, a virtual machine can process tasks and deliver results to clients or mobile applications. This whole article is about creating a virtual machine that can run compute-intensive Java applications while being monitored by another java application. If 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. Then you will learn the following:
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.