BT

InfoQ Homepage News VMWare Releases Virtual Infrastructure Java API and Jython Scripting Examples

VMWare Releases Virtual Infrastructure Java API and Jython Scripting Examples

Bookmarks
VMWare recently open sourced their VI SDK under the BSD license. The VMware Virtual Infrastructure Java API provides a set of libraries with full support of managed object model and utilities to manage and control VMware virtual machines and servers using the VMwware Virtual Infrastructure Web service interface. Highlights of the release include:

  • Enables OO programming with a well defined managed object model
  • Reduces the need to use ManagedObjectReference
  • Hides the complexity of the PropertyCollector
  • Provides necessary utility classes to simplify VI SDK web interfaces
  • Leverages current VI SDK web services interface while keeping it intact
  • Very small footprint of the API itself

Early comments have been favorable. Scott Lowe noted:

...getting properties from a managed object—seemed vastly simpler using VI Java than the VI SDK.

Steve Jin provided an example on the VMWare Developer Center Blog of using the new capabilities in conjunction with other Java abilities (Jython):

...These 7 lines of Jython code could take you 100+ if you will code it using VI SDK web services interface directly...

He also provides a link to an indepth presentation on scripting VI with Jython. A full object model diagram is also available to assist in quickly understanding the new API.

Rate this Article

Adoption
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

  • Indeed worth reading info : VMWare

    by rakesh bhat /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    VMWare has made life soo easy, would like to read more.
    Any specific reason choosing Jython, what might be another Option?

    Thanks
    Rakesh

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

BT

Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
Country/Zone:
State/Province/Region:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.