Hello,

I have a question regarding architecture of NIO application.
My restlets are going to stream content to clients for a long time.
So connection between server and client will be long living.
I'm using Jetty a server connector with NIO jetty server.
On restlet side i'm extending OutputRepresentation and override write  
method to stream contetn to underlying client.
Is it true and i will get all advantages of NIO ?
Or i should extend ChannelRepresentation and use Java NIO channels, byte  
buffers to stream content ?


-- 
Regards,
Evgeny Shepelyuk

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2374719

Reply via email to