CometdServlet is an example of the usage of the relevant classes.
You should look specifically at CometHandler, CometEngine and CometContext. CometdServlet on the other hand should just be used as an example of how to use these classes.
Also have a look at the other blog entries by Jean Francois. They contain further information about Glassfish's/Grizzly's comet API.