anchor.diff:  
   == A slick web frontend
   
  -All chat applications need a _nice_ UI, well this one may not be that nice, but should do the work.
  -The first things to do is to configure our application to serve static resources.
  -Edit the `HelloResource.java` file and add the following method:
  -
  -[source,java]
  -----
  -@GET
  -@Path("/assets/{path: .*}")
  -public Response staticResources(@PathParam("path") final String path) {
  -    InputStream resource = HelloResource.class.getClassLoader().getResourceAsStream("/assets/" + path);
  -    return resource == null ? Response.status(404).build() : Response.ok().entity(resource).build();
  -}
  -----
  -
  -This method serves any files located into the `assets` directory.
  -
  -Now, create the `assets` directory in `src/main/resources` and, in this newly created directory, copy this https://github.com/protean-project/quickstarts/blob/master/using-websockets/src/main/resources/assets/index.html[index.html] file.
  +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:run
  +mvn compile shamrock:dev
   ```
   
  -Then open your 2 browser windows to http://localhost:8080/app/hello/assets/index.html:
  +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
  
positive.code: mvn org.jboss.shamrock:shamrock-maven-plugin:1.0.0.Alpha1-SNAPSHOT:create \
      -DprojectGroupId=org.acme \
      -DprojectArtifactId=using-websockets \
      -DclassName="org.acme.websocket.HelloResource" \
      -Dpath="/hello" \
      -Dextensions="websockets"
  ```
  
  It generates:
  
  * the Maven project structure
  * an `org.acme.websocket.HelloResource` resource
  * an associated test
  
  The Maven project also imports the Shamrock WebSockets extension.
  
  == Handling web sockets
  
  In the `org.acme.websocket` package, create the `ChatSocket` class, with the following content:
  
  [source,java]
  ----
  
negative.code: = Using Web Sockets
  
  This guide explains how your Shamrock application can utilize web sockets to create interactive web applications.
  Because it's the _canonical_ web socket application, we are going to create a simple chat application.
  