The mibgen compiler generates an MBean for each group defined in the MIB. These skeletal MBeans need to be completed by adding implementation-specific code (access methods). The generated code is initialized with default values for the different MIB variables. If the MIB specifies a default value for an SNMP variable, this value will be used to initialize the corresponding variable in the MBean skeleton. Therefore, if you compile the generated code directly, you will obtain a running agent. In this case, values returned by the agent when querying the MIBs will be default values or meaningless values, if no default value has been provided in the MIB file for the variable.
MBeans generated from groups are named using the group names specified in the MIB definition.