Easier Deployment of Java Apps to Windows Azure
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.
What is Oracle doing?
by
mani doraisamy
Everyone under the "sun" is claiming java application development in cloud. While the owner of "sun" seems to be cloudy about java on cloud!
Educational Content
Large-Scale Continuous Testing in the Cloud
John Penix May 24, 2013
Managing Build Jobs for Continuous Delivery
Martin Peston May 24, 2013
Clojure in the Field
Stuart Halloway May 23, 2013




Hello stranger!
You need to Register an InfoQ account or Login to post comments. But there's so much more behind being registered.Get the most out of the InfoQ experience.
Tell us what you think