For my project I’m, exposing some rest services to import and export data (rest service api, not the entity api) In fact, for my api I will map the domain entities to legacy jaxb annotated TO’s.
I see that CUBA uses (at least part of) spring web where xml and content negotiation is supported.
With spring web this should be rather easy.
For the future it would also be interesting to allow both xml and json via content negotation (also supported by spring-web)
- Is there a way to let cuba use jaxb to serialize the content to xml?
- Is there a way to enable content negotation so the client can choose what format he will receive?