anchor.diff:  
   @ServerEndpoint("/chat/{username}")         // <1>
   @ApplicationScoped
  -public class ChatManager {
  +public class ChatSocket {
   
       Map<String, Session> sessions = new ConcurrentHashMap<>(); // <2>
   
       @OnOpen
  -    public void opening(Session session, @PathParam("username") String username) {
  +    public void onOpen(Session session, @PathParam("username") String username) {
           sessions.put(username, session);
           broadcast("User " + username + " joined");
       }
   
       @OnClose
  -    public void closing(Session session, @PathParam("username") String username) {
  +    public void onClose(Session session, @PathParam("username") String username) {
           sessions.remove(username);
           broadcast("User " + username + " left");
       }
   
       @OnError
  -    public void errored(Session session, @PathParam("username") String username, Throwable throwable) {
  +    public void onError(Session session, @PathParam("username") String username, Throwable throwable) {
           sessions.remove(username);
           broadcast("User " + username + " left on error: " + throwable);
       }
  
positive.code: 
  Clone the Git repository: `git clone https://github.com/protean-project/quickstarts.git`, or download an https://github.com/protean-project/quickstarts/archive/master.zip[archive].
  
  The solution is located in the `using-websocket` https://github.com/protean-project/quickstarts/tree/master/using-websockets[directory].
  
  == Creating the Maven project
  
  
negative.code: 
  == A slick web frontend
  
  All chat applications need a _nice_ UI, well, this one may not be that nice, but does the work.
  Shamrock automatically serves static resources contained in the `META-INF/resources` directory.
  Creates the `src/main/resources/META-INF/resources` directory and copy this https://github.com/protean-project/quickstarts/blob/master/using-websockets/src/main/resources/assets/index.html[index.html] file in it.
  
  == Run the application
  
  Now, let's see our application in action. Run it with:
  
  ```
  mvn compile shamrock:dev
  ```
  
  Then open your 2 browser windows to http://localhost:8080/:
  
  1. Enter a name in the top text area (use 2 different names).
  2. Click on connect
  