At PDC09, Microsoft announced support for “running Java and Tomcat in Windows Azure, but this doesn't mean Tomcat is the only Java app container supported in Azure. In fact, approach basically consists of creating a JRE and any Java package that can be instantiated via command line. This Java app can then be packaged into a Worker Role application, and then deployed into Azure. If you're looking for an alternative deployment approach, you should consider using “Jetty,” which’s a Java-based, open source Web Server which provides an HTTP server and Servlet container capable of serving static and dynamic content either from standalone or embedded instantiations. Jetty is used by many popular projects, including Apache Geronimo JavaEE compliant app server, BEA WebLogic Event Server, Google App Engine and Web Toolkit plug-in for Eclipse, Google Android, RedHat JBoss and others. Jetty project provides: Asynchronous HTTP Server, Standard based Servlet Container, Web Sockets server, Asynchronous HTTP Client, OSGi, JNDI, JMX, JASPI, AJP support,” notes Microsoft.
Resources to help you:
- Run Java with Jetty in Windows Azure
- Windows Azure Tomcat Solution Accelerator
- Interoperability Bridges and Labs Center's Windows Azure SDK for Java
- Steve Marx PDC 2009 Session, Building Java Applications with Windows Aure
- John Gillmor's blog post, Domino's Demonstrates Tomcat Site on Windows Azure