Hi,

>Another problem is the String-fits-all return type; it would make it
>impossible to implement streaming of the result to the client; which
>will make the behavior for large collections non-optimal (the caller
>needs to wait for the complete JSON string to be ready before it can
>start forwarding information up the stack).

To avoid Strings, I wrote the interface
org.apache.jackrabbit.mk.wrapper.Wrapper (extends MicroKernel) and the
abstract class WrapperBase, where Strings are replaced with a JsopReader.

Regards,
Thomas



Reply via email to