The Sun WBEM SDK provides example Java programs, which are installed in /install_dir/SUNWconn/wbem/demo. You can use the source code as a basis for developing your own programs. Two types of example programs are provided:
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