The Sun WBEM SDK provides example Java programs, which are installed in /usr/demo/wbem. You can use the source code as a basis for developing your own programs. Three types of example programs are provided:
Applet – Programs that you can run in a Java-enabled Web Browser or run with the Java Development Kit (JDK) Appletviewer.
Client programs – Programs that use the client and CIM application programming interfaces (APIs) to request WBEM operations from the CIM Object Manager
Provider programs – Programs that communicate with managed objects to access data