如何用java实现在线聊天
我是 Java 开发新手。
我想在jsp中制作聊天服务器应用程序。我在谷歌搜索,但我只找到内联网聊天,但我想制作具有在线聊天功能的应用程序。
任何人都可以给我一些建议或给我一些好的链接。
I am new in Java development.
I Want to make chat server Application in jsp. i search at Google but i find only intranet Chatting but i want to make application that has online chatting.
Can any one give me some advice or give me some good link.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

Netty 是一个非常好的通信库,非常适合编写聊天服务器。
例如,文档中的示例包括基于 SSL 的安全聊天服务器和客户端。
例如,您可以进行如下设置:
Netty is a very good communications library that would be ideal for writing a chat server.
The examples in the documentation include, for example, a secure SSL-based chat server and client.
You could, for example go for a setup like the following: