Building Next Generation Real-Time Web Applications for Java Developers

Lesson: Push Notifications from Server to Web Client Example

You must login to view this lesson.

Not a member, register for free!

Course Outline

Building Next Generation Real-Time Web Applications for Java Developers

Learn to create the next generation of real-time web application by understanding the foundational technology that enable real-time bi-directional communication between a web client and server.

In this course you will learn the following:

  • How to create a bi-directional communication channel between the client and server.
  • How a server can push updates and notifications to web clients in the most efficient way possible.
  • How to broadcast update to multiple clients for multi-user collaboration.
  • Module 1: Introduction (7 minutes)
    1. 0:54 Play 1.1. Course Introduction
    2. 1:09 Play 1.2. What is a WebSocket
    3. 4:49 Play 1.3. Why Use WebSockets
  • Module 2: Alternatives to WebSockets (11 minutes)
    1. 1:07 Play 2.1. WebSocket Alternatives
    2. 2:16 Play 2.2. Periodic Refresh / Ajax Polling
    3. 3:55 Play 2.3. Long Poll / Server Side Wait
    4. 2:44 Play 2.4. Server Sent Events (SSE)
  • Module 3: WebSocket Technology (7 minutes)
    1. 1:57 Play 3.1. WorkSocket Workflow
    2. 2:41 Play 3.2. WebSocket Commands & Events
    3. 2:07 Play 3.3. WebSocket Application Messages
  • Module 4: Real-Time Communication Programming with Web Sockets (38 minutes)
    1. 14:38 Play 4.1. Bi-Directional Communication Example with Echo WebSocket
    2. 9:00 Play 4.2. Push Notifications from Server to Web Client Example
    3. 7:25 Play 4.3. Collaborative Applications with Broadcast WebSockets
    4. 3:38 Play 4.4. Recovering from WebSocket interruptions
    5. 2:31 Play 4.5. Dealing with Secure Web Sockets
    6. 4.6. Project Files & Source Codes
  • Module 5: Summary (2 minutes)
    1. 1:26 Play 5.1. WebSocket Conclusion