且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

从服务器端为特定网站打开的所有浏览器之间的通信

更新时间:2023-11-27 21:56:10

看看akka-> akka提供了使用Java构建异步应用程序的功能.是的,您可以使用websockets + akka为此提供非常有效的解决方案.

take a look at akka -> akka provides the ability to build Asynchronous applications using Java. And yes you can make a very efficient solution for this using websockets+akka .

您可以在适用于Play框架的示例应用程序(websocket-chat)中找到一个示例,该示例使用akka + websockets创建异步聊天应用程序.

You can find an example of how to do this in Sample application (websocket-chat) for Play Framework which uses akka+websockets for making an asynchronous chat application.