4.0

Table Of Contents
5 Copy all of the required JAR files in a directory named lib in the Web application directory.
You must include the JAR files that contain the implementations of the configuration adapter and actions,
and JAR files for any other technologies that configuration implementation uses.
6 Create a Web application archive to contain the Web application files.
A WAR file is a JAR file that you rename to .war.
In the solar system example, the configuration Web application files are stored in WAR file named
solarsystem.war.
You created a Struts-based Web application that contains all of the Web application files and the Java
implementations of the configuration adapter and action.
What to do next
Map the application and the plug-in implementation to Orchestrator objects in the vso.xml file.
Contents of the Solar System Configuration WAR File
You add a configuration tab to the Orchestrator configuration interface by creating a Web application archive
(WAR) file that contains the implementations of the configuration adapter and configuration actions, the layout
of the tab, and the Struts configuration files.
The DAR file of the solar system plug-in contains a built WAR file for the solar system configuration tab. You
can also examine the files of the solar system configuration Web application in the bundle of source files of the
solar system plug-in.
The solar system DAR file contains a WAR file named solarsystem.war.
If you modify the source files of the solar system configuration WAR file, you must rebuild the DAR file of the
solar system plug-in by using the Ant build tool. Rebuilding the plug-in DAR file rebuilds the WAR file of the
solar system configuration tab. See “Build the Solar System Application and Plug-In,” on page 210.
Table 7-6 lists the directories and files that the built WAR file for the solar system configuration tab contains.
Table 7-6. Contents of the Solar System Configuration WAR File
Directory Filename Description
\Plug-Ins\VSOSDK-
SolarSystem\src\
struts.xml
Struts framework configuration file that
references the Java classes and methods
of the configuration actions. The
struts.xml is located in the source files
of the solar system plug-in rather than
in the WAR file.
solarsystem\ index.jsp
JSP file that defines the layout of the
configuration tab for the plug-in.
solarsystem\WEB-INF\ web.xml
Sets up the configuration tab by
implementing the appropriate XML
schemas, locating the index page,
accessing resource files, and
implementing security.
vCenter Orchestrator Developer's Guide
200 VMware, Inc.