The post by Ben Lobaugh shows how you can take advantage of the high availability and scalability of the Windows Azure cloud using Java on Eclipse.
The post will walk you through each step. See Deploying a Java application to Windows Azure with Eclipse.
Summary of the Steps
Next, you can get Eclipse. The Windows Azure Starter Kit for Java was designed to work with as a simple command line build tool, or in the Eclipse integrated development environment (IDE). You then import the project into Eclipse, select the Java server environment, and the Java Runtime Environment. You can now build your app.
For Azure, you’ll configure project files startup.cmd and ServiceDefinition.csdef. You’ll edit the startup.cmd file to support either Jetty or Tomcat.
You can start up the local Windows Azure cloud platform using the Windows Azure SDK Command Prompt. And Build.
Finally, package application for deployment on Windows Azure and deploy to the cloud.
Sample Code to Get Tomcat Running in Azure
You can get ahold the projects from http://ricardostorage.blob.core.windows.net/projects/AzureJavaTomcatJBossEclipse.zip
It includes two Eclipse projects, AzureJava (simple Tomcat) and AzureJBoss. You’ll need to follow Deploying a Java application to Windows Azure with Eclipse first.
The code will show how to integrate Tomcat into your Azure project.
Special thanks to Ricardo Villalobos for his work on this project.
Bruce D. Kyle
ISV Architect Evangelist | Microsoft Corporation