官术网_书友最值得收藏!

WebSockets

WebSockets is one of the major overall advancements in HTTP communication. It extends HTTP to allow it to handle one or more full-duplex communication channels over a single HTTP connection, enabling all kinds of applications with real-time communication requirements to appear on the web market, such as chatting, multi-player gaming, collaborative document editing, and many more.

In Chapter 8Sending Mails with JavaMail 1.6, we'll learn what WebSockets are and when to use them. Moreover, we'll learn and practice how to create WebSockets endpoints in Java and how to create a client for them in JavaScript. In addition, we'll learn how to maintain and encode user state in our server. At the end of the chapter, we'll look at a complete example of using WebSockets to implement a cinema tickets booking interface for our book's project.

主站蜘蛛池模板: 新昌县| 黑龙江省| 栖霞市| 马尔康县| 隆子县| 和平县| 读书| 宁安市| 滨海县| 纳雍县| 阜新市| 建宁县| 论坛| 洛南县| 梓潼县| 巴东县| 江津市| 白玉县| 新野县| 唐海县| 平塘县| 蒲江县| 北宁市| 无锡市| 迭部县| 石台县| 贵德县| 容城县| 辉县市| 阳朔县| 自贡市| 陆川县| 札达县| 福州市| 望城县| 芦溪县| 论坛| 连云港市| 西宁市| 余庆县| 桐梓县|