Home > vSphere API > Tutorial: Easy VMware Development with VI Java API and Groovy

Tutorial: Easy VMware Development with VI Java API and Groovy

April 20th, 2010 Leave a comment Go to comments

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.

  1. May 31st, 2010 at 04:49 | #1

    nice groovy, i think its good article. good luck

  2. August 12th, 2010 at 06:57 | #2

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

  3. Kent Georgeson
    June 16th, 2011 at 01:31 | #3

    Any development on the same capability for vCloud API?

  4. June 16th, 2011 at 04:03 | #4

    Hi Kent,

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

    Steve

  1. May 3rd, 2010 at 00:47 | #1
  2. May 21st, 2010 at 09:07 | #2