Introduction to the Java API for Web Sockets
Offered By: Pluralsight
Course Description
Overview
The web is becoming more and more about building applications rather than building web pages, and that typically means two-way communication between the web client code and the server. In this course, you will build a Java server that supports the Java API for Web Sockets, and a JavaScript client that uses web sockets to provide two-way communication between the client and the server.
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.
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.
Syllabus
- Course Overview 1min
- Introduction 11mins
- Building Our First Server 26mins
- Sending and Receiving Messages 31mins
- Encoding and Decoding Data 26mins
- Extending the Server 17mins
Taught by
Kevin Jones
Related Courses
Learn Javascript - 21 Essential Array MethodsCoursera Project Network via Coursera 3D Graphics for Web Developers
Pompeu Fabra University via FutureLearn Access WebView in an Android Studio Project
Coursera Project Network via Coursera Advanced React
Meta via Coursera Building Modern Nodejs Applications on AWS
Amazon Web Services via edX