VMware {code} Community
Akityou
Contributor
Contributor

what is difference between "vim" and "vim25"?

Hi,

There are 2 jars in the java sample codes: vim.jar and vim25.jar. What is the difference between them? Which one should I use?

Akityou

Reply
0 Kudos
2 Replies
tos2k
Expert
Expert

Probably these are libraries to the VIM webservice. VMware did not make the previous SDK upgrade backward compatible, as now with the vSphere update.

I think vim works for VirtualCenter 2, which means below 2.5

vim25 shall work for both 2, 2.5 and 4, but has limited functionality according to newer functionality in vSphere 4

Tos2k

storm27
Enthusiast
Enthusiast

Hi,

vim25 defines the namespace which contains the stub bindings,for the management APIs, for the ESX versions 2.5 and above.It contains the support for the new objects and the APIs that were added after 2.0. vim25 is also backward compatible with vim2 i.e it provides supports for the old objects and APIs and new ones as well.

Whenever you need to use APIs which specifies "since 2.5", go for the vim25 jar.

Thanks.

Angela

Reply
0 Kudos