You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by "Musayev, Ilya" <im...@webmd.net> on 2013/03/28 19:00:56 UTC

[DISCUSS]VMware Open Source APIs

Stumbled upon Open Source Version of Java API for VSphere on vijava.sourceforge.net

Wanted to get the feel of developers if we can consider using these APIs instead and make VMWare support as an Open Source build (vs nonoss as of now).

RE: [DISCUSS]VMware Open Source APIs

Posted by "Musayev, Ilya" <im...@webmd.net>.
I guess a small world for you Chip :)

For those who would like to learn more or just curious, the README file has some interesting things we should consider.
------
WHAT IS VI JAVA API?
VI Java API is a set of Java libraries that aim to ease the usage of VI 
SDK Web Services interfaces. It's now open-sourced under BSD license.

It provides the following benefits to the Java developers:
* Enables OO programming with a well defined managed object model
* Reduces the need to use ManagedObjectReference and makes possible 
  compile time type checking
* Hides the complexity of the PropertyCollector
* Provides necessary utility classes to simplify VI SDK web interfaces
* High performance with 4+ times faster than AXIS engine

As a result, the application code using this API is much shorter (70% less) 
and much more readable than the equivalent using web service interfaces 
directly. The API itself is straight-forward and easy to learn and use. 

WHO CREATED THE API?
The VI Java API was initially created by Steve Jin from VMware Engineering. 
He is the author of VMware VI and vSphere SDK by Prentice Hall. There are 
contributions from the communities as well. See the web site for more details.  

WHAT IS INCLUDED?
Everything is packaged into one Jar file, including the Java source code, 
binary, sample code, license.
Version 2.0+ includes a high performance web service engine which is 15+ times
faster in loading and 4+ faster in de-serialization than AXIS with only 1/4
of the size, and many other features. Find out more at project home.

HOW TO GET STARTED?
To get started, check out the 5 minutes tutorial at: http://vijava.sf.net.

WHERE TO DOWNLOAD THE LATEST RELEASE? 
http://vijava.sf.net

WHERE CAN I GET HELP?
Project Forum: https://sourceforge.net/forum/forum.php?forum_id=826592
File a bug: https://sourceforge.net/tracker/?group_id=228007
Blog: http://www.doublecloud.org

COPYRIGHT & LICENSE:
BSD. See the License.txt file for details


> -----Original Message-----
> From: Chip Childers [mailto:chip.childers@sungard.com]
> Sent: Thursday, March 28, 2013 4:19 PM
> To: dev@cloudstack.apache.org
> Cc: aemneina@gmail.com
> Subject: Re: [DISCUSS]VMware Open Source APIs
> 
> On Thu, Mar 28, 2013 at 08:14:17PM +0000, Musayev, Ilya wrote:
> > The author, Steve Jin wrote this API, he also co-wrote and designed the
> original non open source VmWare APIs. (I even have one of his books).
> >
> > This project is now supported by community and Steve.
> >
> > I'd say the chance of it being very much similar to non opensource version -
> is very high, but I will let the more knowledge developers make that call.
> 
> Steve and I know each other, and I've suggested switching to it in the past.
> It's actually two things...  First, it exposes a *very similar* raw set of API
> wrapper classes that look and feel like the VMware proprietary SDK.  Second,
> it has a set of classes designed to simplify the SDK interaction into a more
> sane object structure.
> 
> I'd be willing to bet that a conversion would be easy...  and I'm willing to try if
> nobody else gets to it first...  After we get 4.1 out the door, and if someone
> else does RM for 4.2.  ;-)
> 
> >
> > Regards
> > ilya
> >
> > > -----Original Message-----
> > > From: Ahmad Emneina [mailto:aemneina@gmail.com]
> > > Sent: Thursday, March 28, 2013 2:18 PM
> > > To: dev@cloudstack.apache.org
> > > Subject: Re: [DISCUSS]VMware Open Source APIs
> > >
> > > i agree, if there is feature parity between the sdk's we should use
> > > the opensource one.
> > >
> > >
> > > On Thu, Mar 28, 2013 at 11:07 AM, David Nalley <da...@gnsa.us> wrote:
> > >
> > > > On Thu, Mar 28, 2013 at 2:00 PM, Musayev, Ilya
> > > > <im...@webmd.net>
> > > wrote:
> > > > > Stumbled upon Open Source Version of Java API for VSphere on
> > > > vijava.sourceforge.net
> > > > >
> > > > > Wanted to get the feel of developers if we can consider using
> > > > > these APIs
> > > > instead and make VMWare support as an Open Source build (vs nonoss
> > > > as of now).
> > > >
> > > >
> > > > Personally I think that since an open source option exists we have
> > > > a compelling reason to try and adopt it provided there are no
> > > > adverse effects. The ASF exists to build open source,
> > > > freely-available, software for the public good.
> > > >
> > > > --David
> > > >
> >
> >



Re: [DISCUSS]VMware Open Source APIs

Posted by Chip Childers <ch...@sungard.com>.
On Thu, Mar 28, 2013 at 08:14:17PM +0000, Musayev, Ilya wrote:
> The author, Steve Jin wrote this API, he also co-wrote and designed the original non open source VmWare APIs. (I even have one of his books).
> 
> This project is now supported by community and Steve.
> 
> I'd say the chance of it being very much similar to non opensource version - is very high, but I will let the more knowledge developers make that call.

Steve and I know each other, and I've suggested switching to it in the
past.  It's actually two things...  First, it exposes a *very similar*
raw set of API wrapper classes that look and feel like the VMware
proprietary SDK.  Second, it has a set of classes designed to simplify
the SDK interaction into a more sane object structure.

I'd be willing to bet that a conversion would be easy...  and I'm
willing to try if nobody else gets to it first...  After we get 4.1 out
the door, and if someone else does RM for 4.2.  ;-)

> 
> Regards
> ilya
> 
> > -----Original Message-----
> > From: Ahmad Emneina [mailto:aemneina@gmail.com]
> > Sent: Thursday, March 28, 2013 2:18 PM
> > To: dev@cloudstack.apache.org
> > Subject: Re: [DISCUSS]VMware Open Source APIs
> > 
> > i agree, if there is feature parity between the sdk's we should use the
> > opensource one.
> > 
> > 
> > On Thu, Mar 28, 2013 at 11:07 AM, David Nalley <da...@gnsa.us> wrote:
> > 
> > > On Thu, Mar 28, 2013 at 2:00 PM, Musayev, Ilya <im...@webmd.net>
> > wrote:
> > > > Stumbled upon Open Source Version of Java API for VSphere on
> > > vijava.sourceforge.net
> > > >
> > > > Wanted to get the feel of developers if we can consider using these
> > > > APIs
> > > instead and make VMWare support as an Open Source build (vs nonoss as
> > > of now).
> > >
> > >
> > > Personally I think that since an open source option exists we have a
> > > compelling reason to try and adopt it provided there are no adverse
> > > effects. The ASF exists to build open source, freely-available,
> > > software for the public good.
> > >
> > > --David
> > >
> 
> 

RE: [DISCUSS]VMware Open Source APIs

Posted by "Musayev, Ilya" <im...@webmd.net>.
The author, Steve Jin wrote this API, he also co-wrote and designed the original non open source VmWare APIs. (I even have one of his books).

This project is now supported by community and Steve.

I'd say the chance of it being very much similar to non opensource version - is very high, but I will let the more knowledge developers make that call.

Regards
ilya

> -----Original Message-----
> From: Ahmad Emneina [mailto:aemneina@gmail.com]
> Sent: Thursday, March 28, 2013 2:18 PM
> To: dev@cloudstack.apache.org
> Subject: Re: [DISCUSS]VMware Open Source APIs
> 
> i agree, if there is feature parity between the sdk's we should use the
> opensource one.
> 
> 
> On Thu, Mar 28, 2013 at 11:07 AM, David Nalley <da...@gnsa.us> wrote:
> 
> > On Thu, Mar 28, 2013 at 2:00 PM, Musayev, Ilya <im...@webmd.net>
> wrote:
> > > Stumbled upon Open Source Version of Java API for VSphere on
> > vijava.sourceforge.net
> > >
> > > Wanted to get the feel of developers if we can consider using these
> > > APIs
> > instead and make VMWare support as an Open Source build (vs nonoss as
> > of now).
> >
> >
> > Personally I think that since an open source option exists we have a
> > compelling reason to try and adopt it provided there are no adverse
> > effects. The ASF exists to build open source, freely-available,
> > software for the public good.
> >
> > --David
> >


Re: [DISCUSS]VMware Open Source APIs

Posted by Ahmad Emneina <ae...@gmail.com>.
i agree, if there is feature parity between the sdk's we should use the
opensource one.


On Thu, Mar 28, 2013 at 11:07 AM, David Nalley <da...@gnsa.us> wrote:

> On Thu, Mar 28, 2013 at 2:00 PM, Musayev, Ilya <im...@webmd.net> wrote:
> > Stumbled upon Open Source Version of Java API for VSphere on
> vijava.sourceforge.net
> >
> > Wanted to get the feel of developers if we can consider using these APIs
> instead and make VMWare support as an Open Source build (vs nonoss as of
> now).
>
>
> Personally I think that since an open source option exists we have a
> compelling reason to try and adopt it provided there are no adverse
> effects. The ASF exists to build open source, freely-available,
> software for the public good.
>
> --David
>

Re: [DISCUSS]VMware Open Source APIs

Posted by David Nalley <da...@gnsa.us>.
On Thu, Mar 28, 2013 at 2:00 PM, Musayev, Ilya <im...@webmd.net> wrote:
> Stumbled upon Open Source Version of Java API for VSphere on vijava.sourceforge.net
>
> Wanted to get the feel of developers if we can consider using these APIs instead and make VMWare support as an Open Source build (vs nonoss as of now).


Personally I think that since an open source option exists we have a
compelling reason to try and adopt it provided there are no adverse
effects. The ASF exists to build open source, freely-available,
software for the public good.

--David