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.
You can use Starter Kit from a simple command line or within Eclipse. In both case the steps are similar:
- Download and unzip the Starter Kit
- Copy your Java app into the approot folder
- Copy Java Runtime Environment and server distribution (like Tomcat or Jetty) ZIPs into the approot folder
- Configure the Startup commands in startup.cmd (specific to the server distribution)
- Configure Azure configuration in ServiceDefinition.cscfg
- Run the build and deploy commands
Download: Windows Azure Starter Kit for Java
[tags]starter kit,tomcat,jre,java runtime environment,apache ant[/tags]