InfoQ

News

VMWare Releases Virtual Infrastructure Java API and Jython Scripting Examples

Posted by Scott Delap on Jun 09, 2008 10:43 AM

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.

1 comment

Reply

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

Exclusive Content

VMware Infrastructure 3 Book Excerpt and Author Interview

VMware Infrastructure 3: Advanced Technical Design Guide and Advanced Operations Guide provides a wealth of practical insights into setting up virtualization in todays corporate environments.

Architectures of extraordinarily large, self-sustaining systems

Can a system that is so large it cannot be comprehended be "designed" in a conventional sense? The foundations of computing are about to change. In this talk, Richard P. Gabriel explores why and how.

Using Ruby Fibers for Async I/O: NeverBlock and Revactor

Ruby 1.9's Fibers and non-blocking I/O are getting more attention - we talked to Mohammad A. Ali of the NeverBlock project and Tony Arcieri of the Revactor project.

Agile and Beyond - The Power of Aspirational Teams

Tim Mackinnon talks about the aspirations behind the Agile principles and practices, the desire to become efficient, to write quality code which does not end up being thrown away.

Concurrency: Past and Present

Brian Goetz discusses the difficulties of creating multithreaded programs correctly, incorrect synchronization, race conditions, deadlock, STM, concurrency, alternatives to threads, Erlang, Scala.

ActionScript 3 for Java Programmers

Often the hardest part of changing technologies is language syntax differences. This new article provides Java developers with a transition guide to Actionscript which forms the foundation of Flex.

Neal Ford On Programming Languages and Platforms

Neal Ford talks about having multiple languages running on one of the two major platforms: Java and .NET. He also presents the advantages offered by Ruby compared to static languages like Java or C#.

Future Directions for Agile

David Anderson talks about the history of Agile, the current status of it and his vision for the future. The role of Agile consists in finding ways to implement its principles.