vCloud SDK for Java Developer's Guide
SDK reference documentation in javadoc form (in the apidocs folder) that provides object type
definitions, properties, method signatures, and similar information about the vCloud SDK for Java.
Access to technical publications, including the vCloud SDK for Java Developer's Guide (this book), which
helps you setup your development environment and run sample applications using Java.
Import the SDK Into Your Java IDE
You can import the vCloud SDK for Java into a Java IDE.
1
Unzip the package (use gzip or a similar program).
2
In the unzipped package, open the vcloud-java-sdk-all folder and unzip the samples jar
vcloud-java-sdk-samples-1.0-sources.jar.
3
Import the contents of the vcloud-java-sdk-all folder into your Java IDE.
About SSL Access
In the default configuration, VMware Cloud Director requires vCloud API clients to use SSL. To simplify
access to Cloud Director, all SDK samples use a FakeSSLSocketFactory class that allows the sample
programs to accept all SSL certificates. Because clients that use the FakeSSLSocketFactory class are
inherently insecure, you should restrict use of this method to sample applications, and only in trusted
environments. All of the sample applications use the FakeSSLSocketFactory class.
Client applications built with this SDK can enable the use of SSL certificates by either importing certificates
into a keystore or implementing a custom socket factory that accepts certificates from the server. Client
applications should not use the FakeSSLSocketFactory class.
12
VMware, Inc.