It is very useful that Restlet automatically does content negotiation and returns json or xml result by combining annotated interfaces and the converter service. Optionally it uses Jackson and xstream for these two formats.
The default works fine if the size of the returned results is not very big. However, if we returns a huge array of millions of integers in json format, it seems a streaming API is more appropriate. Is it possible to configure Restlet (or Jackson/xstream) at server side so it can return json/xml results using a streaming API? The real application is actually trying to pull out a huge list of integers and save them in a file. The list of integers is computed dynamically at server side. ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3054716