扭曲于Java [英] Twisted in Java
问题描述
与扭曲的最接近的Java是什么?
What is the closest Java alternative to Twisted?
推荐答案
像史蒂芬(Stephane),我建议您看看米娜(Mina).它是异步网络IO的框架.它建立在前面提到的NIO之上,并且IMO隐藏了与Selectors,Channels等有关的一些复杂性.我已经使用Mina进行了几个项目,其效果相当不错,但是请注意,我发现文档有些薄弱.再说一次,就像Stephane提到的那样,它并没有对太多协议的开箱即用支持.
Like Stephane, I would suggest you take a look at Mina. Its a framework for asynchronous network IO. It is built on top of NIO, which was mentioned earlier, and IMO hides away some of the complexity involved with Selectors,Channels,etc.. I've used Mina for a couple of projects and its pretty good, but be warned, I've found the documentation to be a little weak. And again, like Stephane mentioned, it doesn't have out of the box support for too many protocols.
这篇关于扭曲于Java的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!