How to run Java compute-intensive tasks on a cloud platform virtual machine

Source: Internet
Author: User
Keywords Java compute-intensive application
Tags application application that can applications archive channel clients cloud cloud platform

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)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.