Using the XenServer Java API to launch a VM

Aug 12, 2012   //   by Daniel Kranowski   //   Algorithms  //  2 comments

Citrix XenServer has a management API which lets you control every aspect of your hypervisor: hosts, guest VMs, networks, storage. The API has bindings to multiple languages, including Java. Apache CloudStack integrates with XenServer and since CloudStack is written in Java it makes extensive use of the XenServer Java API. If you’re interested to see an example of how to use the XenServer Java API to launch a VM, take a look at this article I just wrote for

Launching a VM with XenServer, Java, and Apache CloudStack


  • The acquisition might be great news for, but there is a real daengr of it slowing down the emergence of public cloud services and limiting the options of cloud customers. Despite the cloud explosion in the media, even today there are only 500 public cloud service providers in the world. Compared to the 33,000 hosting companies worldwide, it’s a very small percentage that can actually put public cloud services in the hands of customers. With Citrix and CA Technologies calling the shots over who makes it as a cloud service provider, we may start to see a squeeze on the speed of delivery of cloud services which will fall behind customer demand. Smaller hosting companies will actually be the biggest driver of public cloud provisioning, but they won’t necessarily meet the revenue or scale requirements of the newly consolidated big boys to get access to the software they need to start offering cloud services. Ultimately users will be forced to buy in a constrained market, which could trigger a rise in pricing, further delaying the advance of the public cloud.

    • Actually it’s easier than ever for web hosting companies to start offering cloud services with free and open source technology. Citrix and VMware stand to make a healthy, deserved buck from enterprise support and additional virtualization products they offer, but they don’t call all the shots. The brave cloud provider who wishes to use 100% free cloud infrastructure/platform software (like KVM, pure Xen, and libvirt) is able to do so today. We are in the golden age of free software.

Please share your thoughts