Building WebSocket Applications with GlassFish and Grizzly



Building WebSocket Applications with GlassFish and Grizzly

Building WebSocket Applications with GlassFish and Grizzly

WebSocket is coming with HTML5, and building rich real-time event-driven Web applications will be the future. GlassFish, as of Release 3.1.2, now supports WebSocket, so now is an ideal time to learn this new technology. This tutorial builds a WebSocket Web application hosted on GlassFish that can deliver stock updates from a data grid directly to the Web browser in real time. It starts by introducing WebSocket and the APIs for building a server-side WebSocket application in GlassFish. It then moves on to the client side and builds an updating stock ticker, using HTML5’s Canvas and JavaScript. For a final flourish, the presenter hooks up GlassFish to a data grid that will deliver updates at scale in real time.

Copyright © 2013 Oracle and/or its affiliates. Oracle® is a registered trademark of Oracle and/or its affiliates. All rights reserved. Oracle disclaims any warranties or representations as to the accuracy or completeness of this recording, demonstration, and/or written materials (the “Materials”). The Materials are provided “as is” without any warranty of any kind, either express or implied, including without limitation warranties of merchantability, fitness for a particular purpose, and non-infringement.

Comments are closed.