SNMP4J与sun提供的Java Management扩展(JMX)包之间有什么区别。我想开发一种用于网络管理和监控的产品。我想选择一个更好的开源java snmp库。我找到了这两个选项。有人能告诉我哪个更好吗?
答案 0 :(得分:0)
Pummy,
As per my knowledge, SNMP4J is the industry standard open source API for SNMP agent development and I would recommend that over JMX. Each has its own advantages and disadvantages. You need to google around to check out the advantages and disadvantages.
我还建议使用一个名为Friendly-SNMP的SNMP4J包装器(我正在使用它),它使用起来更简单,但有一个缺点,就是缺乏对AgentX协议的支持。如果你把它排除在外,这是一个非常好的API。
我的判决:友好的SNMP或SNMP4J。