The mibgen compiler also generates the Java source code required for representing a whole MIB in an SNMP manager.
mibgen parses an SNMP MIB and generates the following:
an MBean representing the whole MIB
a class representing the metadata definitions for the MIB variables
classes representing SNMP groups/entities as MBeans (and a metadata class for each instance generated)
classes representing SNMP tables
classes representing SNMP enumerated types
MBeans generated by mibgen need to be updated to provide the definitive implementation. For more information, see the corresponding section in the Java Dynamic Management Kit 4.0 Tutorial.