4.0

Table Of Contents
You can install the solar system DAR file to experiment with the solar system plug-in in the Orchestrator client.
Alternatively, you can examine the source files of the solar system application and solar system plug-in. You
can modify the source files to adapt and extend the solar system application and solar system plug-in, and
rebuild the DAR file to incorporate your modifications in the plug-in.
Procedure
1 Download the ZIP file of Orchestrator examples from the Orchestrator documentation home page.
2 Unzip the bundle to an appropriate location.
3 Navigate to the following location to view the files of the solar system application and the solar system
plug-in.
install-directory
\vco-samples_4_0_1_
build_number
\Plug-Ins
The \Plug-Ins folder contains the following file and folders:
vmware-vmosdk-
solarsystem.dar
DAR archive that contains a ready-made version of the solar system plug-
in.
SolarSystem
Contains the source files for the solar system application for you to inspect.
VSOSDK-
SolarSystem\context
Contains the vso.xml file for the solar system plug-in, image files, a solar
system Web view, a package of workflows, and the Web application that
processes configuration information.
VSOSDK-SolarSystem\src
Contains the implementations of the Orchestrator plug-in API interfaces for
the solar system application.
VSOSDK-
SolarSystem\webapp
Contains the files that add a tab for the solar system plug-in to the
Orchestrator configuration interface.
4 (Optional) To recreate the solar system plug-in from the beginning, you must add the VSOSDK-
SolarSystem\webapp\WEB-INF\lib\vmware-solarsystem.jar Java archive to your classpath.
Components of the Solar System Application
The solar system application replicates a solar system and includes objects to represent stars, planets, and
moons. The solar system application also defines operations that you can perform on these objects.
You find the source files of the solar system application in the Plug-
Ins\SolarSystem\src\com\vmware\solarsystem folder in the Orchestrator examples bundle.
For simplicity, the solar system application runs in the JVM of the Orchestrator server when you install the
solar system plug-in. You can create plug-ins for technologies that run independently of Orchestrator by
defining how Orchestrator connects to the application in a function in the plug-in. For example, you can add
connection information in a tab for the plug-in in the Orchestrator configuration interface.
NOTE The source files of the solar system example application and solar system plug-in are provided for
reference purposes, so that you can see the details of the application that the solar system plug-in exposes and
of the plug-in implementation. If you import the ready-made vmware-vmosdk-solarsystem.dar file to
Orchestrator, you do not need to build solar system application code or build the plug-in from the sources.
However, if you adapt the code of the solar system application or the solar system plug-in, you can rebuild
the application and the DAR file to incorporate your adaptations. See “Build the Solar System Application and
Plug-In,” on page 210.
vCenter Orchestrator Developer's Guide
154 VMware, Inc.