Tutorial: Easy VMware Development with VI Java API and Groovy

Every time I google for VI(vSphere) Java API, I get something new. Here is yet another one I just found. It’s a blog article Easy VMware Development with VI Java API and Groovy by Aaron Sweemer. By reading his blog site, I came to know Aaron is actually my colleague at VMware working as a Sr. System Engineer in Cincinnati Ohio. He is the principal blogger at Virtual Insanity.

In his blog, Aaron showed a HelloVM.groovy program after my HelloVM.java from the VMware VI Java API project. Upon reading his code, you can have a good sense what the Groovy version looks like. He also gave a nice and short introduction about Groovy, along with links to online tutorials. So don’t worry if you are new to Groovy. In the end, he listed 7 steps on using VI Java API in Groovy for fun! In one of follow up comments, Guillaume Laforge contributed a slightly “goovy-fied” version. Great jobs Aaron and Guillaume! If you want to leverage VI Java API in Groovy, the article is a must read.

Lost VMs or Containers? Too Many Consoles? Too Slow GUI? Time to learn how to "Google" and manage your VMware and clouds in a fast and secure HTML5 App.

The VI Java API can be used in any JVM languages. If you are interested in writing a tutorial for other languages, please let me know (sjin2008 at users.sourceforge.net) and I will be happy to include your tutorial in the VI Java API website.

This entry was posted in vSphere API and tagged , , , , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

4 Comments

  1. Posted May 31, 2010 at 4:49 am | Permalink

    nice groovy, i think its good article. good luck

  2. Posted August 12, 2010 at 6:57 am | Permalink

    Hey i have done some work with vb and was wondering how different is java from vb?

  3. Kent Georgeson
    Posted June 16, 2011 at 1:31 am | Permalink

    Any development on the same capability for vCloud API?

  4. Posted June 16, 2011 at 4:03 am | Permalink

    Hi Kent,

    Great question. Currently VI Java API does not include vCloud API, therefore no such capability there.

    Steve

2 Trackbacks

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

  • NEED HELP?


    My company has created products like vSearch ("Super vCenter"), vijavaNG APIs, EAM APIs, ICE tool. We also help clients with virtualization and cloud computing on customized development, training. Should you, or someone you know, need these products and services, please feel free to contact me: steve __AT__ doublecloud.org.

    Me: Steve Jin, VMware vExpert who authored the VMware VI and vSphere SDK by Prentice Hall, and created the de factor open source vSphere Java API while working at VMware engineering. Companies like Cisco, EMC, NetApp, HP, Dell, VMware, are among the users of the API and other tools I developed for their products, internal IT orchestration, and test automation.