Best Practices for
Developing Extensions for the
vSphere
Client
You can improve
your extension solutions by understanding the process of extending the user
interface layer and service layer of the
vSphere Client ,
and packaging and deploying your extension solutions. Follow best practices to
ensure optimal performance and scalability, and to improve the security of your
vSphere Client
extensions.
Best Practices for Creating Plug-In Packages To meet the requirements of your virtual environment, you must extend the capabilities of the vSphere Client by creating plug-in modules. Depending on your extension solution, you can extend the user interface layer and the service layer of the vSphere Client . Best Practices for Plug-In Modules Implementation Following general design and development recommendations is the first step in creating high-performance and secure vSphere Web Client extensions. You can then move on to special areas, such as developing HTML-based extension solutions. Best Practices for Developing HTML-Based Extensions You can use the vSphere Web Client SDK and the vSphere Client development kit to create HTML-based extensions. Best Practices for Extending the User Interface Layer When developing extensions for the user interface layer of the vSphere Client , follow these best practices. Best Practices for Extending the Service Layer Following these recommendations and best practices for creating extensions of the vSphere Web Client service layer, can help you improve the security, scalability, and performance of your extension solutions. Best Practices for SSL Connections The following best practices apply to local plug-ins when setting up SSL connections in Java. Best Practices for Using VimPortType with JAX-WS The JAX-WS package can leak memory due to repeated creation of VimPort
connections with the vSphere Web Services SDK. The use of a static VimPort
object can alleviate the memory leaks, but can lead to other problems, especially with thread safety. JAX-WS does not provide a thread-safe Port
implementation for the VimPort
object, which accesses the Web Services API.Best Practices for Deploying and Testing Your vSphere Client Extensions After you develop your vSphere Client extension, you can follow these recommendations to ensure that your extension is successfully deployed to the vSphere Client .