Windows Azure Starter Kit for Java Community Technology Preview Released

Microsoft released the CTP of the Windows Azure Starter Kit for Java, which enables Java developers to simply configure, package and deploy their web applications to Azure. The goal for this CTP is to get feedback from Java developers, and to nail down the correct experience for Java developers, particularly to make sure that configuring, […]

Microsoft released the CTP of the Windows Azure Starter Kit for Java, which enables Java developers to simply configure, package and deploy their web applications to Azure. The goal for this CTP is to get feedback from Java developers, and to nail down the correct experience for Java developers, particularly to make sure that configuring, packaging and deploying to Azure integrates well with common practices.

This Starter Kit was designed to work as a simple command line build tool or in the Eclipse integrated development environment. It uses Apache Ant as part of the build process, and includes an Ant extension that's capable of understanding Azure configuration options.

The kit is a Zip file that contains a template project and the Ant extension. If you look inside this archive you will find the typical files that constitute a Java project, as well as several files built to help you test, package and deploy your app to Azure.

Windows Azure Starter Kit for Java: File Structure

You can use Starter Kit from a simple command line or within Eclipse. In both case the steps are similar:

  1. Download and unzip the Starter Kit
  2. Copy your Java app into the approot folder
  3. Copy Java Runtime Environment and server distribution (like Tomcat or Jetty) ZIPs into the approot folder
  4. Configure the Startup commands in startup.cmd (specific to the server distribution)
  5. Configure Azure configuration in ServiceDefinition.cscfg
  6. Run the build and deploy commands

Download: Windows Azure Starter Kit for Java

[tags]starter kit,tomcat,jre,java runtime environment,apache ant[/tags]

[Source]