> On Apr 5, 2015, at 6:48 AM, Embee <[email protected]> wrote: > > Is there a way to add Annotations from other frameworks on code generation? > In that way i could have oxm and obm in one with a tool like Facebooks Swift > (JAXB for binary mapping). > I did find the velocity templates in CXF that are used for Code generation.
The templates are for the CXF specific things, but not for the object models representing the data. I’m not sure where you would need to add your annotations. If they need to go onto the data objects, an XJC plugin would likely be the best option. There are a couple of examples in our xjc project: https://git1-us-west.apache.org/repos/asf/cxf-xjc-utils.git Dan > Is it an option to override these, or are tgere other, easier ways of doing > this. Maybe XJC and JAXB bindings? > -- Daniel Kulp [email protected] - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com
