Feb 23rd, 2013, 06:25 PM
How to use StreamingPayload for sending responses from server?
I try to figure out how to use the interfaces for streaming results in my application (StreamingPayload, ...). I googled already the existing hints in here and outside. Most of those issues seem outdated and others seem resolved without any usefull hints...
2 questions remain unclear to me:
- Is this only possible with JAXB annoted POJOs?
- Is there a clear step-by-step tutorial (with JAXB and without)?
My webservice must send timeseries data out of a database. I figured out quite some overhead by the typicall DB -> POJO -> XML. I instead want to do directly DB -> XML.
I hope anyone can help me :-)
Tags for this Thread