Want to get started quickly with vSphere API using Java SDK coding but not getting easy to understand samples/tutorials? Want to get quick insight into vSphere APIs ? If you have these questions, this post is for you.
Some time back I had written 6 blog articles @vSphere API using Java SDK for VMware users and academic students. I thought to consolidate all the blog posts together in one short post so that it will be a one stop shop@vSphere API learning.
I recommend you to refer these 6 blog articles in below sequence. Blogs are written in a way that 1st year Engineering student should also understand easily.
Tutorial 1: How to initialize connection with ESXi host or vCenter server using vSphere API.
Tutorial 2:How to access/navigate vCenter server or ESXi host inventory using vSphere API
Sample 1: How to get datastore summary for all the datastores connected to a ESXi host.
Sample 2: How to create VM-Host DRS affinity rules using vSphere API
Sample 3: How to create VM-VM DRS affinity rules using vSphere API
You may also want to share these article with friends/students/customers. It will help them in their projects related to VMware. This also can be a trigger to start learning@VMware.

Vikas Shitole is a Senior Tech Lead at VMware by Broadcom, VCF division, India, where he leads system test efforts—including scale, stress, and resiliency testing—and drives product quality across VMware Cloud Foundation (VCF), Broadcom’s flagship private cloud platform.
He is an AI and Kubernetes enthusiast, and is passionate about VMware customers and automation around vSphere and VCF. Vikas has been honored as a vExpert for 12 consecutive years (2014–2025) for his sustained technical contributions and community leadership.
He is the author of two VMware Flings, holds multiple industry certifications, and is one of the top contributors to the VMware API Sample Exchange, where his automation scripts have been downloaded over 50,000 times.
Vikas has shared his expertise as a speaker at international conferences such as VMworld Europe and VMworld USA, and was selected as an official VMworld 2018 blogger. He also served as lead technical reviewer for the Packt-published books vSphere Design and VMware Virtual SAN Essentials.
Beyond tech, Vikas is a dedicated cricketer, cycling enthusiast, and a lifelong learner in fitness and nutrition, with the personal goal of completing an Ironman 70.3
One thought on “vSphere API using Java : Getting started/Samples consolidated”
Comments are closed.