<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hello,<br>
<br>
Netty does not (yet ?) have an implementation of an asynchronous http
client, as provided by asynchweb.<br>
Sure, this could be easily implemented with netty. But, this requires
some programming.<br>
<br>
However, I will be happy to know if I am wrong.<br>
<br>
-- Ron<br>
<br>
On 14.01.2010 01:35, "Trustin Lee (이희승)" wrote:
<blockquote cite="mid:4B4E66BB.2030905@gmail.com" type="cite">
  <pre wrap="">Why AsyncWeb instead of Netty? :)

rzo wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Hello,

The idea of this patch is to avoid the http overhead, thus reducing 
communicaiton to a minimum.
You could extend this patch to run over http, but for that I would 
recommend using the hessian servlet with tomcat.
I have not done benchmarks tomcat vs netty HttpDecoder, but tomcat is 
very efficient, it supports NIO and APR
and implements all you need concerning security and authentication. With 
netty you will have to implement it on your own.
A few years ago I benchmarked hessian rpc on jetty and tomcat and 
decided to
go with tomcat.

Maybe dumb question: why http ? If you want asynchronous RPC you will 
either need some asyncrhonous http on the
client side (for example: 
<a class="moz-txt-link-freetext" href="http://docs.safehaus.org/display/ASYNCWEB/Home">http://docs.safehaus.org/display/ASYNCWEB/Home</a>) you will need support 
for asynchronous http,
which requires non-standard framework.

regards

-- Ron


On 13.01.2010 00:47, fatbatman wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">Hi Ron,

I just had a quick look and it seems very nice.  I'll have a quick play over
the next few days and get back to you with some feedback.

Could it be run over Http(s) by making HessianRPCReplyDecoder extend
HttpMessageEncoder? etc I believe in that case a second connection would be
needed to handle the continuations.

regards

James
   
      </pre>
    </blockquote>
    <pre wrap="">
_______________________________________________
netty-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:netty-users@lists.jboss.org">netty-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/netty-users">https://lists.jboss.org/mailman/listinfo/netty-users</a>
    </pre>
  </blockquote>
  <pre wrap="">
  </pre>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
netty-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:netty-users@lists.jboss.org">netty-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/netty-users">https://lists.jboss.org/mailman/listinfo/netty-users</a>
  </pre>
</blockquote>
<br>
</body>
</html>