Java wishlist for Windows Azure

Guest Author

TOTD #155 explains how to run GlassFish in Windows Azure. It works but as evident from the blog, its not easy and intuitive. It uses Worker Role to install JDK and GlassFish but the concepts used are nothing specific to Java. Microsoft has released Azure SDK for Java and AppFabric SDK for Java which is a good start but there are a few key elements missing IMHO. These may be known issues but I thought of listing them here while my memory is fresh :-)

Here is my wish list to make Java a better on Windows Azure:

  1. Windows Azure Tools for Eclipse has "PHP Development Toolkit" and "Azure SDK for Java" but no tooling from the Java perspective. I cannot build a Java/Java EE project and say "Go Deploy it to Azure" and then Eclipse + Azure do the magic and provide me with a URL of the deployed project.
  2. Why do I need to configure IIS on my local Visual Studio development for deploying a Java project ?
  3. Why do I have to explicitly upload my JDK to Azure Storage ? I'd love to specify an element in the "ServiceConfiguration" or where ever appropriate which should take care of installing JDK for me in the provisioned instance. And also set JAVA_HOME for me.
  4. Allow to leverage clustering capabilities of application servers such as GlassFish. This will also provide session-failover capabilities on Azure :-)
  5. Sticky session load balancing.
  6. If Windows VM crashes for some reason then App Fabric restarts it which is good. But I'd like my Java processes to be monitored and restarted if they go kaput. And accordingly Load Balancer switches to the next available process in the cluster.
  7. Visual Studio tooling is nice but allow me to automate/script the deployment of project to Azure.
  8. Just like Web, Worker, and VM role - how about a Java role ?
  9. And since this is a wishlist, NetBeans is the best IDE for Java EE 6 development. Why not have a NetBeans plugin for Azure ?
  10. A better integration with Java EE APIs and there are several of them - JPA, Servlets, EJB, JAX-RS, JMS, etc.
  11. The "happy scenario" where every thing works as expected is fine is good but that rarely happens in software development. The availabilty of debugging information is pretty minimal during the "not so happy scenario". Visual Studio should show more information if the processes started during "Launch.ps1" cannot start correctly for some reason.

And I'm not even talking about management, monitoring, adminstration, logging etc.

Thank you Microsoft for a good start with Java on Azure but its pretty basic right now and needs work. I'll continue my exploration!

Christmas is coming later this year ... and I'll be waiting :)

Technorati: windows azure wishlist glassfish netbeans eclipse

Join the discussion

Comments ( 6 )
  • Javin Paul @ Java Tutorial Saturday, February 12, 2011

    This is interesting collaboration between JAVA and Microsoft :) but now making java suitable for windows azure could something they both can look forward to benefit the end users.


  • Peter Jones Sunday, February 13, 2011

    Excellent observations. Hope to be fulfilled. Specifically, "Why not have a NetBeans plugin for Azure ?"

  • Craig Kitterman Wednesday, March 23, 2011

    Hi Arun, please check out the eclipse plugin that we released yesterday for java/azure. I woudl love to get your feedback: http://bit.ly/e2gNYl


    Craig Kitterman

    Sr. Tech Ambassador

    Microsoft Interop

  • Arun Gupta Wednesday, March 23, 2011

    Thanks a lot Craig, installing now and will report back!

    Seems like I need a Windows machine to run the emulator, right ?

    Any known issues with Eclipse/Mac/Azure plugin ?

  • Informatica Friday, November 25, 2011

    Its a great article on Java wishlist for Windows Azure

  • guest Friday, November 2, 2012

    Hi Arun, great blog.

    I found this. I hope you like it.


Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.