使用Spring WebSocket从零到英雄



记录在SpringOne2GX 2015
主讲人:塞尔吉·阿尔玛(Sergi Almar)
Web / Javascript跟踪
幻灯片:http://www.slideshare.net/SpringCentral/from-zero-to-hero-with-spring-websocket

实时改变了我们与网络交互的方式,我们需要实时的信息。与Sergi Almar一起参加本演示文稿,以学习如何通过实时功能逐步增强传统的Spring MVC应用程序,以提供更具交互性和吸引力的用户体验。首先添加带有服务器发送事件的服务器推送通知(在新的Spring 4.2中受支持),我们将转向使用WebSockets进行双向消息传递的通信方式。使用Spring实时性再简单不过了!在扩展我们的WebSocket应用并将其部署到Cloud Foundry时,我们还将看到要考虑的挑战和考虑因素。 。

23 comments
  1. How many websocket connections (tcp) can handle a single container? I dont think that for every websocket session a new thread is created because that would be a waste of resources.

  2. Maybe I'm just bad at reading but it took me forever to realize that you need to create your own handshake handler in order to manage specific clients that connect to your server in the documentation. Thank God for this video.

  3. jajajja la persona es muy bueno presentando pero muy malo programando xD, igual le di like porque se dio el trabajo de hacer la presentación, con malas prácticas pero finalmente lo hizo.

  4. Great tutorial. can you give us a necessary configuration to do if we want to send message to a group of user identified by something (idUsers for example). what should we make the modifications ? client side or server side ?

  5. Just curious, will they have good recording equipment this year? so you don't get nausea from watching the recordings?
    Presentations are great, out of focus makes no sense since we are just watching slides.

Comments are closed.