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:
a class mapping symbolic names with object identifiers of MIB variables.
an MBean representing the whole MIB.
classes representing SNMP groups/entities as MBeans (and their corresponding metadata class)
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.1 Tutorial.