Search code examples
javawebservices-clientnetty

Web Services client using Java NIO (Netty?)


I have written a simple client to test my Web Service, but I am investigating the possibility of using the JBoss Netty framework, rather than blocking sockets, in order to increase the number of concurrent connections I can make to the Web Service.

I understand that JBoss itself uses Netty, but I am using Tomcat (for the time being) and have no knowledge of it. Has anyone done this, or used something similar?


Solution

  • We have used both Netty and MINA in our implementations. Both wrap the underlying java NIO classes to make things a bit easier and concise. We went with Netty when comparing the two. We found that Netty was a bit easier and provided us more powerful uses for NIO. I'd suggest taking a look at this post as it has a pretty good comparison of the two.