Adam Bien's Weblog

JSON Streaming With JAX-RS 2.0

Streaming JSON (or any other content) with JAX-RS 2.0 is really easy to implement with the helper interface StreamingOutput:

I was asked the question "How to stream content with JAX-RS 2.0?" during the recent Warsaw JUG (wjug at twitter) meeting: Unorthodox Enterprise Practices. We were over time and the JUG leader repeatedly reminded me about this fact, so I rejected to answer this question. Now, as usual, or questions remain answered :-)

See also other screencasts at: or subscribe to

See you at Java EE Workshops at MUC Airport!

NEW workshop: Building HTML 5 Applications With Angular 2
Full week in December 2016: from Java EE 7 Bootstrap, Effective, Architectures over Testing to Microservices
On demand workshops: Java EE 7: Bootstrap, Effective, Testing and Microservices available for streaming.


A book about rethinking Java EE Patterns



Posted by FilterPunk on March 04, 2014 at 10:02 AM CET #

Post a Comment:
  • HTML Syntax: NOT allowed
Online Workshops
...the last 150 posts
...the last 10 comments