Обучающие видео » Компьютерные видеоуроки и обучающие интерактивные DVD » Программирование (видеоуроки)
Introduction To The Java API For WebSocketsГод выпуска: 2015
Производитель: Pluralsight
Сайт производителя: pluralsight.com
Автор: Kevin Jones
Продолжительность: 2:02
Тип раздаваемого материала: Видеоклипы
Язык: Английский
Описание: More and more web applications are using web sockets. In this course, you will learn how to use the Java API for Web Sockets to provide communication between the client and a Java based server. The course will cover sending simple text messages as well as how to send, receive, and process binary messages. We also show how to deserialize such messages into Java types and how to use those Java types to process the message. You'll also learn how to serialize Java objects into messages that can be sent to and processed by a client. Finally, we look at ways to extend the server using 'path=parameter,' which allows clients to use the same web socket but to partition the application using URLs.
Веб-сокеты на Java.
[spoiler="Содержание"]
IntroductionCourse Introduction
Running the Demonstration Code
A Brief Overview of the JavaScript Code
A Brief Overview of the Java Code
What to Expect in the Rest of the Course
Building Our First ServerIntroduction to Writing a Server
Writing a Programmatic Server
Writing the WebSocket Descriptor
Moving to an Annotated WebSocket Server
Writing the Client
Summary and What's Next
Sending and Receiving MessagesIntroduction to Message Handling in Java WebSockets
Sending and Receiving Text Messages
Receiving Binary Messages
Reading Binary Messages in the Client
Returning Data From a Message Handler
Summary
Encoding and Decoding DataIntroduction to Encoding and Decoding Messages
Encoding Messages
Decoding Messages
Processing Java Types as Messages
Summary
Extending the ServerIntroduction to Path Parameters and Error Handling
Using Path Parameters in a Java WebSocket Server
Updating the JavaScript Client to make use of Path Parameters
Adding Centralized Error Handling to the WebSocket Server
Summary
[/spoiler]
Файлы примеров: присутствуют
Формат видео: MP4
Видео: AVC, 1024x768, 4:3, 15fps, 374kbps
Аудио: AAC, 44.1kHz, 128kbps, stereo
[spoiler="Скриншоты"]

[/spoiler]