WebSocket is a new protocol that was standardized in 2011 and provides two-way communication channels over a single TCP connection. It is designed to work with web browsers and web servers, and it has native JavaScript APIs in all modern browsers. The WebSocket protocol is totally independent from the HTTP protocol, and it can have a secured and unsecured layer just like the HTTP protocol. Starting with Weblogic 12c, it supports the WebSocket APIs fully, and we are going to use it in this recipe to create a small, anonymous chat client.
There is no model for this project, and this is a separate application from previous recipes. So, you should grab the ADFFacesWebSockets
application from the Git repository directly.