BT

InfoQ Homepage News Easier Deployment of Java Apps to Windows Azure

Easier Deployment of Java Apps to Windows Azure

This item in japanese

Bookmarks

Microsoft has made available a kit for streamlining the process of deploying Java applications to Windows Azure.

Until now, to run a Java application on Windows Azure, the deployed package needed to contain configuration information for a Worker Role, which required updating the service definition file, setting some attributes in the service configuration file and creating a .NET class to handle the Role’s lifecycle. A MSDN webpage gives detailed explanation on how to deploy a Java application on Azure. The process is not a point-and-click one, requiring the creation of a C# class in Visual Studio, a .NET library for handling Zip files, and editing Azure service configuration information.

Microsoft has made the job of deploying Java apps easier by releasing the Windows Azure Starter Kit for Java, a zip file containing a template project and an Ant extension. The kit can be used as a stand alone tool from the command line, the main element being the Ant build file that creates all the necessary files (example), or it can be used from Eclipse which invokes the Ant file when the project is built (example).

By editing a configuration file, the developer can choose to deploy the application locally for testing purposes, or in the cloud. When the later option is selected, the kit generates the files .cspkg and .cscfg needed when deploying to Windows Azure.

The Starter Kit is a CTP, Microsoft being interested in getting “feedback from Java developers, and to nail down the correct experience for Java developers, particularly to make sure that configuring, packaging and deploying to Windows Azure integrates well with common practices.” The kit has been released under the Apache 2.0 license.

Rate this Article

Adoption
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

  • What is Oracle doing?

    by mani doraisamy /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    After GAE-java & vmforce, now it is microsoft's turn to woe java developers to their PaaS.
    Everyone under the "sun" is claiming java application development in cloud. While the owner of "sun" seems to be cloudy about java on cloud!

  • Re: What is Oracle doing?

    by Winston Dhanraj /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    you missed Amazon elastic beanstalk amongst the "woers" list :-)

  • Re: What is Oracle doing?

    by Augusto Rodriguez /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    Beautiful words Mani.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

BT

Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
Country/Zone:
State/Province/Region:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.