From the course: Java EE 8: JavaServer Faces JSF 2.3

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Server Sent Events (SSE)

Server Sent Events (SSE)

From the course: Java EE 8: JavaServer Faces JSF 2.3

Start my 1-month free trial

Server Sent Events (SSE)

- [Instructor] Have you ever heard of server sent events? Maybe not. Have you ever needed to send data from the server side to the browser without the client having to request it? Maybe you've tried to build a chat application and you need to send a new message to a client. Or perhaps you have a publish subscribe component on the server side and you need to notify the client in the browser when a new message has been published to the queue. Something that feels like push notifications for the more mobile minded amongst us. Well but, that's what server sent events are all about. With server sent events, or SSE for short, you're able to push data from your JSF application server code to the browser without the JSF page having to pull or refresh or anything gross like that. So here for example, after an initial connection establishment request from the JSF page to the backing bean, subsequent flows of data are one sided. The…

Contents