Add a comment


Re: Non-blocking (NIO) Server Push and Servlet 3

Hi Ant. Very great article. Very well explained and fantastic example. Everything worked fine after I figured out that I had to use Tomcat 7.0.26. I tried it first on Tomcat 7.0.22 that came with NetBeans but for some reason it didn't work at all. Interesting what I noticed is that it works independently of setting the Connector, since they used auto switching mechanism to select either a blocking or non-blocking connector which is very neat I must admit. Can you comment on choice of use of protocol="HTTP/1.1" versus protocol="org.apache.coyote.http11.Http11NioProtocol"? In my application the communication is not exclusively push, thus I use the first option. But I wonder if it is in any way more efficient to stick to push only? BTW: In relation to Viv's comment I think the problem with running it on IE7 might be because the script tag is after body tag rather than inside the head. IE in my experience was always the most picky browser thus I think this might be it.

Re: Non-blocking (NIO) Server Push and Servlet 3

HTML : b, strong, i, em, blockquote, br, p, pre, a href="", ul, ol, li, sub, sup
E-mail address
Remember me Yes  No 

E-mail addresses are not publicly displayed, so please only leave your e-mail address if you would like to be notified when new comments are added to this blog entry (you can opt-out later).