I found this post earlier today about whether to XSD --> POJO or POJO --> to XSD.
It made us question whether we should even bother with making XSDs in our scenario. We assumed we should write XSD then generate Java POJOs from it, and then use those POJOs to transfer data between our REST server and clients. But what value do those XSDs have if we could just directly write the POJOs with the required annotations?
We thought it might help to write a custom XSD GUI tool instead of hand coding the XSD and that could be one benefit of having XSD. But I assume there are also GUI tools for creating JAXB beans?
Is it worth having XSD at the cost of the extra project complexity of having them and needing to generate the classes before compile time in our scenario?