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

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.

主站蜘蛛池模板: 灵川县| 军事| 黄梅县| 石城县| 安国市| 新干县| 韶山市| 连江县| 哈巴河县| 织金县| 绥德县| 邳州市| 固镇县| 开江县| 昔阳县| 灌南县| 安国市| 涿州市| 静宁县| 浙江省| 龙游县| 靖远县| 茶陵县| 得荣县| 集安市| 修文县| 江津市| 奉贤区| 龙游县| 济阳县| 栾城县| 葫芦岛市| 双流县| 恩施市| 南川市| 安陆市| 右玉县| 三门峡市| 金川县| 灵璧县| 建昌县|