How to provide streaming in J2EE web application?

Hi Friends,

I want to build web application which will provide streaming of data.

This data may be in raw data, binary, files, audio, video etc. As we are using HTTP protocol for web application, then how to do streaming between server and client using HTTP protocol i.e in request response manner.

Any help will be appreciated.

Thanks

[367 byte] By [vikaskhengarea] at [2007-11-27 4:47:59]
# 1

Hi Vikash,

You can rely on the Servlet API which gives you access to the request/response streams.

I would also suggest that you have a look at the Restlet API which has similar but more convenient support for stream representations. It is also a fully featured REST framework that supports both BIO streams and NIO channels.

Best regards,

Jerome

http://www.restlet.org

jerome_louvela at 2007-7-12 10:00:47 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...