Given the below structure/ background, can someone briefly outline (at a high level) a good structure to follow- coding with JAXB when xsd can be modified after compilation?
Background information:
My project currently uses JAXB (and aspectj?) to generate classes at compilation time from xsd initiated in build.xml file. These classes then extend a single parent class.
At runtime, we unmarshall generated xml strings (using xsd classes and objectFactory) and cast to the parent object. Basically following similar to the oracle documentation I found here: https://docs.oracle.com/cd/E19575-01/819-3669/6n5sg7bj5/index.html
Problem is the xsd can now change at runtime. This would likely imply we can no longer use auto generated classes. So what would be a good strategy to update for this change in specs?