title: How compose web.xml to lauch server side with maven and jetty
body: <p>What should I put into web.xml to launch to start server side. I launch jetty but only ui works server side isn't not running</p>
  
  <p>I have next folder tree:</p>
  
  <pre><code>src
    |-main
        |-java
        |    |-com
        |        |-example
        |                |-test
        |                     |-ServerSide.java
        |-webapp
               |-index.html
               |-WEB-INF
                       |-web.xml
  </code></pre>
  
  <p>Server side class</p>
  
  <pre><code>package com.example.test;
  
  import java.io.IOException;
  import java.util.Date;
  
  import javax.websocket.OnOpen;
  import javax.websocket.Session;
  import javax.websocket.server.ServerEndpoint;
  
  
  @ServerEndpoint("/testbattle")
  public class ServerSide {
      @OnOpen
      public void onOpen(Session session) throws IOException {
          System.out.println("Welcome" + new Date());
          session.getBasicRemote().sendText("Hello websockets");  
      }
  }
  </code></pre>