On 23.01.2011 13:49, Sergey Beryozkin wrote:
Hi Ivan
sorry for a delay
On Fri, Jan 21, 2011 at 9:19 AM, Ivan Vitoria Sanchez<[email protected]
wrote:
Hi Sergey,
Could you tell me where i can find some example about how StaxSource works?
I'm not sure how can i use it in conjunction with JAXB...
Me neither :-), Actually, I can see JAXBSource now exists :
http://download.oracle.com/javase/6/docs/api/javax/xml/bind/util/JAXBSource.html
However I'm not sure if returning a JAXBSource will make writing large
pieces of data more efficient.
I can't speak for JAXBSource's performance or utility with respect to
REST calls, but FWIW JAXBSource was a great help in updating Kohmori[1],
the World's Least Used Report Generation System. The code greatly
shrunk and simplified[2] when I switched to that class.
Glen
[1] http://www.jroller.com/gmazza/date/20100810
[2] *http://tinyurl.com/46su6dp*
--
Glen Mazza
Software Engineer, Talend (http://www.talend.com)
blog: http://www.jroller.com/gmazza