Hi Daniel,

well, if that is the case than that's useless for me. It's a really big
response so we probably need to work with an attachment. The idea of using
an attachment and getting the objects through the inputstream lazily would
be better in this case. I didn't get it working though.
Btw, I see I said something wrong - I'm using CXF 2.2.3, not 2.1.4 ;-)

Ronald


dkulp wrote:
> 
> 
> JAXB should automatically allow this for a streaming OUT part.   I believe
> it 
> just uses the list iterator on the lists in the JAXB beans to write things 
> out.   Thus, the list/iterator COULD be lazy and retrieve from the
> database 
> one object at a time.     Thus, you really just need to implement an
> object 
> that implements List that uses the RowMapper things and such to lazy
> retrieve 
> the objects.
> 
> I don't think there is a way to accomplish this on the incoming side.   As
> the 
> XML comes in, the object model is built up entirely.  
> 
> Dan
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Really-Streaming-objects-to-the-service-client-tp26052541p26110586.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to