Go To Homepage



Book Details
Comet and Reverse Ajax: The Next-Generation Ajax 2.0 book cover
  • By Dave Crane Phil McCarthy
  • ISBN13: 978-1-59059-998-3
  • ISBN10: 1-59059-998-5
  • 100 pp.
  • Published Oct 2008
  • Print Book Price: $19.99
  • eBook Price: $13.99



Errata Submission

If you think that you've found an error in Comet and Reverse Ajax: The Next-Generation Ajax 2.0, please let us know about it. You will find any confirmed erratum below, so you can check if your concern has already been addressed.

Submit Errata
Comet and Reverse Ajax: The Next-Generation Ajax 2.0 (978-1-59059-998-3)

Errata

Issue Author's Response
Your cometd source code won't compile because line 10 of the BootStrap.groovy file contains an unresolvable call to org.mortbay.util.ajax.JSONObjectConvertor. This doesn't appear in the jar file contained in your application, and being a novice java developer, I can't seem to find it anywhere. You mention in the book that other converters can be used, but they're not listed and I don't know enough to know how to implement them. Hi,

(Sorry, this is a bit anonymous - the Apress Errata form hasn't provided me with your name. Thanks for the interest in our book!)

The unresolved class is part of the Jetty Cometd classes. Have you replaced the jetty jar files in your Grails install with more recent ones, as described in the readme for the code download? I developed the apps against Grails 1.0.3, which uses Jetty 6.1.7 by default. To use the Jetty Cometd classes, I replaced this with Jetty 6.1.11, as memory serves.

If you've done this and are still getting problems, get back to me.

Best regards,

Dave Crane