Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想为自己构建一个基于 Web 的聊天应用程序(例如 hipchat 或 facebook 聊天),我认为 netty 是这种方式,因为它是事件驱动的,但是。Netty 没有任何 servlet 容器。那么如何为 netty 构建自己的 servlet 容器呢?或者更好的是如何构建自己的 ServletContainer?
也许 Netty 对你想要完成的事情来说太低级了。如果您想要一个可以执行 servlet 的嵌入式解决方案,为什么不尝试 Jetty 呢?
http://www.eclipse.org/jetty/