anchor.diff:  
   Package names did not change.
   
  -[cols="1,1", options="header"]
  -|===
  -| CometD 2 | CometD 3
  -| CometdServlet | CometDServlet
  -| AnnotationCometdServlet | AnnotationCometDServlet
  +[cols="1a,1a", options="header"]
  +|===
  +| CometD 2.x | CometD 3.0.x
  +| `CometdServlet` | `Comet**D**Servlet`
  +| `AnnotationCometdServlet` | `AnnotationComet**D**Servlet`
   |===
   
   NOTE: Pay attention to the capital `D' of Comet**D**
  
positive.code: 
  ==== Deprecated API Removed
  
  A number of deprecated APIs (since 4.0) have been removed.
  
  [cols="1a,1a", options="header"]
  |===
  | CometD 4.0 | CometD 5.0
  
  | `Message.getJSON()`
  | No replacement. +
    Use an implementation of `JSONContext.Client.generate(message)` on the client,
    or an implementation of `JSONContextServer.generate(message)` on the server.
  
  | `ClientSession.handshake(Map<String, Object>, **ClientSessionChannel**.MessageListener)`
  | `ClientSession.handshake(Map<String, Object>, **ClientSession**.MessageListener)`
  
negative.code: 
  [cols="1a,1a", options="header"]
  |===
  | CometD 2.x
  | CometD 3.0.x
  
  |
  [source,xml]
  ----
  <web-app xmlns="http://java.sun.com/xml/ns/javaee"
  