InfoQ

News

VMWare Releases Virtual Infrastructure Java API and Jython Scripting Examples

Posted by Scott Delap on Jun 09, 2008

Community
Java
Topics
Virtualization
Tags
VMWare
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.

Indeed worth reading info : VMWare by rakesh bhat Posted Jun 10, 2008 2:15 PM
  1. Back to top

    Indeed worth reading info : VMWare

    Jun 10, 2008 2:15 PM by rakesh bhat

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

    Thanks
    Rakesh

Educational Content

How HTML5 Web Sockets Interact With Proxy Servers

Peter Lubbers explains in this article how HTML 5 Web Sockets interact with proxy servers, and what proxy configuration or updates are needed for the Web Sockets traffic to go through.

Rails in the Large: How Agility Allows Us to Build One Of the World's Biggest Rails Apps

Neal Ford shows what ThoughtWorks learned from scaling Rails development: infrastructure, testing, messaging, optimization, performance.

Stuart Halloway on Clojure and Functional Programming

Stuart Halloway discusses Clojure and functional programing on the JVM in depth, and touches on the uses of a number of other modern JVM languages including JRuby, Groovy, Scala and Haskell.

Oren Teich and Blake Mizerany on Heroku

Oren Teich and Blake Mizerany talk about the technology behind Heroku and the benefits of the new add-on system.

Security for the Services World

Chris Riley presents security issues threatening service based systems, examining security threats, presenting measures to reduce the risks, and mentioning available security frameworks.

Navigating The Rapids:Real-World Lessons in Adopting Agile

This talk investigates technical issues encountered when moving to an Agile process.

Codename "M": Language, Data, and Modeling, Oh My!

Don Box and Amanda Laucher present “M”, a declarative language for building data models, domain models or external DSLs. Don Box's demos show some of M’s features and latest changes of the language.

SOA Manifesto - 4 Months After

It is four months since the SOA manifesto was announced; InfoQ interviewed the original author’s to get insight into the motivations and the process behind the initiative.