Question

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?

Was it helpful?

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.

OTHER TIPS

Instead of trying to integrate someone else's Socket handling library into Tomcat, why not turn on Tomcat's NIO services? It may require upgrading to Tomcat 6.0, but depending on your experience with JBoss it might be a easier solution.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top