I would advise for a simple XML tool if you can handle this.
For example, my colleges and I introduce sophisticated XML frameworks that initially worked like a charm. Then you forget about the structure, you have special assembly files, intended only for mapping XML to beans, you annotated beans, you provide a new barrier for new developers for your project. You lose most of your freedom to refactor.
In the end, you will be sorry that you used a complex structure to save time in the beginning, and I saw more than once when the frameworks were thrown into refactoring because everyone had a negative feeling about it, although they work fine on paper.
So think twice about implementing complex XML frameworks if you rarely use them. If you and your team use them quite often, then this is the way to go.
Farmor
source share