Like all other classes, proxies can contain a package statement. The package for a component proxy class depends upon the package of the component:
The proxy classes for Java DMK components in the javax.management package and its javax.management.* subpackages do not have a package statement.
Their class files can be located in any directory that can then be added to your application's classpath.
The proxy classes for all other components belong to the same class as the component itself. For example, the proxy classes for the RmiConnectorServer component are declared in the com.sun.jdmk.comm package.
Their class files are contained in the corresponding file hierarchy, whose root can be added to your application's classpath. Therefore, the class files of the RmiConnectorServerProxy are located in a directory called packageRoot/com/sun/jdmk/comm/.