JAXB vs Apache XMLBeans

前端 未结 4 1923
隐瞒了意图╮
隐瞒了意图╮ 2020-12-15 17:00

Anyone can tell me which one is better (JAXB or Apache XMLBeans) taking in account the performance for files bigger than 10Mb?

4条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-15 17:46

    Both have similar performances, however even if Apache XMLBeans seems to present better performance, I normally choose JAXB because I don't want to increase the size of my applications with 3rd party tools.

    With Apache XMLBeans you need a small package around 2mb, it's probably easy to learn and well documented. Have full support of XSD specification and namespaces, and mapping only via XML Schema Definition (XSD). It also seems to use deprecated API’s.

提交回复
热议问题