What to use instead of XMLBeans now that it has been retired?

前端 未结 2 494
南方客
南方客 2021-01-03 21:04

I am starting a new project where I have third party XSD. My Java application needs to generate, and readm XML messages that conform to this XSD. In the past I have used Apa

相关标签:
2条回答
  • 2021-01-03 21:33

    Have you looked at JAXB? I haven't done anything with either of these, but googling for "alternative to XMLBeans" brings up lots of references to this package. Here's an article that compares them...

    http://blog.bdoughan.com/2012/01/how-does-jaxb-compare-to-xmlbeans.html

    0 讨论(0)
  • 2021-01-03 21:40

    XMLBeans has been unretired:

    The Apache POI project has unretired the XMLBeans codebase and is maintaining it as a sub-project. Until now the XMLBeans codebase was held in the Apache Attic where former Apache projects are kept for the public good.

    The latest release as of August 2020 is:

    3.1.0 (March 26, 2019)

    Having said that, I am not sure I would recommend using it, based on its history of retirement. Other solutions, such as JAXB, might be prefered since it will probably be better maintained in the future.

    0 讨论(0)
提交回复
热议问题