开发者

Best way to generate MBeans for managing an XML File

开发者 https://www.devze.com 2023-02-24 05:47 出处:网络
I have an XML file defined by an XML Schema. I need to manipulate it with Java code. I also need to enable remote clients to manipulate it via JMX.

I have an XML file defined by an XML Schema. I need to manipulate it with Java code. I also need to enable remote clients to manipulate it via JMX.

Anyone got any good suggesti开发者_C百科ons?


This sounds like an XML file used for configuration.

  1. Use JAXB to generate Java bindings
  2. Use some appropriate tool to expose the Java objects generated in 1) as JMX MBeans (Spring JMX, Model MBeans, etc)
0

精彩评论

暂无评论...
验证码 换一张
取 消