oxm

JAXB - Creating modules for reuse

跟風遠走 提交于 2019-11-27 09:30:52
Does JAXB support modular code generation? Most of my background is with JibX for XML marshalling, but for legacy reasons our firm is using JAXB. One feature that was available for JIBX was modular code generation . Say I have a main schema but I have several different envelopes for that schema. With JibX I could create a jar file out of the JibX'ed core schema, and then in separate projects I could JibX my envelope schemas and simply point to the shared jar instead of having to duplicate the code generation of the core schemas for each envelope. I don't yet see a way for JAXB to handle this -

JAXB - Creating modules for reuse

无人久伴 提交于 2019-11-26 14:44:36
问题 Does JAXB support modular code generation? Most of my background is with JibX for XML marshalling, but for legacy reasons our firm is using JAXB. One feature that was available for JIBX was modular code generation. Say I have a main schema but I have several different envelopes for that schema. With JibX I could create a jar file out of the JibX'ed core schema, and then in separate projects I could JibX my envelope schemas and simply point to the shared jar instead of having to duplicate the