Server Sent Events  (Tutorial 01 – w/ Java Servlet and Tomcat 7 Web Server)
Articles,  Blog

Server Sent Events (Tutorial 01 – w/ Java Servlet and Tomcat 7 Web Server)


What is a simple tutorial covering Server Sent Events + Java Servlet + tomcat 7? Does html 5 require a reference to a DTD? What is a JavaScript EventSource? How to handle a JavaScript EventSource onopen event? How to handle a JavaScript EventSource onmessage event? How to handle a JavaScript EventSource onerror event? When is the servlet HtmlResponse content type set to ‘text/event-stream’? How to simulate the server continuously sending update events to a client? How to setup the data to be sent to the client using server sent events?

5 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *