Make Java Services
Available to the UI Components in the
vSphere Web Client and the
vSphere Client
vSphere Web Client
and the
vSphere Client
To make a custom
Java service available to your extension components in the
vSphere Web Client
and the
vSphere Client
,
complete the following tasks.
- Create a Java interface for the service.
- Create a Java class that implements the interface in Step 1.
- Add the service to the application server framework.You must export and expose the service to the framework by adding it as abeanin the Spring configuration application server.
- Import the service where your extension references it.
- For Flex-based extensions, import the service into the user interface plug-in module that contains your Flex components.
- For HTML-based extensions, import the service in the controller module that services your extension data requests.
- Establish a communication between your service and the user interface layer.
- For Flex-based extensions, use ActionScript to create a proxy class in your Flex component. The proxy class is used to communicate between the user interface plug-in module and the service.
- HTML-based extensions access the service by using a REST API that communicates with the controller module on the application server.