Sun Java System Application Server Platform Edition 9 Developer's Guide

MBean Class Loading

After you develop a custom MBean, copy its class files (or JAR file) into the MBean class loader directory, domain-dir/applications/mbeans. You have two choices of where to place any dependent classes:

After copying the classes, register the MBean using the asadmin create-mbean command. See The asadmin create-mbean Command.

For general information about Application Server class loaders, see Chapter 2, Class Loaders.