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.
Bothered by SLOW Web UI to manage vSphere? Want to manage ALL your VMware vCenters, AWS, Azure, Openstack, container behind a SINGLE pane of glass? Want to search, analyze, report, visualize VMs, hosts, networks, datastores, events as easily as Google the Web? Find out more about vSearch 3.0: the search engine for all your private and public clouds.
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.