Web Services Client Using Java NIO (Netty?)

I wrote a simple client to test my web service, but I am exploring the possibility of using JBoss Netty rather than blocking sockets to increase the number of simultaneous connections that I can make for the web service.

I understand that JBoss itself uses Netty, but I use Tomcat (for now) and don't know about it. Has anyone done this or used something similar?

+4
source share
2 answers

We used both Netty and MINA in our implementations. Both complete the core Java NIO classes to make things a little simpler and more concise. We compared them to Netty. We found that Netty was a bit simpler and provided us with more powerful NIO applications. I suggest taking a look at this post as it has a pretty good comparison of the two.

+3
source

Instead of trying to integrate some other Socket processing library into Tomcat, why not enable Tomcat NIO services ? This may require upgrading to Tomcat 6.0, but depending on your experience with JBoss, it might be easier.

+6
source

Source: https://habr.com/ru/post/1341316/


All Articles