MyCometListener cometListener = new MyCometListener();
AtmosphereGWTSerializer serializer = GWT.create(EventSerializer.class);
// set a small length parameter to force refreshes
// normally you should remove the length parameter
client = new AtmosphereClient(GWT.getModuleBaseURL()+"gwtComet", serializer, cometListener);
client.start();
}