small medium large xlarge

Errata for Code in the Cloud

 

The latest version of the book is P1.0, released over 5 years ago. If you've bought a PDF of the book and would like to upgrade it to this version (for free), visit your home page.

By default this page displays the errata for the latest version of the book. If you have a previous version, select it here:

If you've found a new error, please submit it.

  • Typo
  • Tech. error
  • Suggestion
  • Maybe next edition
  • Not a problem
  • Reported in: P1.0 (18-May-11)
#47077
PDF page: 32

'debugging' -> 'debugger'--William McQueen

  • Reported in: P1.0 (21-Apr-11)
#46918
PDF page: 60

Section: Retrieving Persistent Objects
The GQL query should be ... ORDER BY timestamp (not time)--Konstantin Bernhardt

  • Reported in: P1.0 (08-Jan-12)
#48478
Paper page: 62
The author has chosen not to display the Import statements as he modifies the code going from oen chapter to the next and that means those lines are m...more...
  • Reported in: P1.0 (08-Jan-12)
#48479
Paper page: 63
In the "post" code for the login-chat example, these two lines are shown in the wrong order so the program errors until these lines are swapped: # ...more...
  • Reported in: P1.0 (11-May-12)
#49306
Paper page: 63
In the post method, the ChatMessage should be passed the variable "nick" instead of "user.nickname()" since the previous lines of code check for an un...more...
  • Reported in: P1.0 (11-May-12)
#49307
Paper page: 63
In the post method, the ChatMessage should be passed the variable "nick" instead of "user.nickname()" since the previous lines of code check for an un...more...
  • Reported in: P1.0 (21-Apr-11)
#46919
PDF page: 64
Line 2 should be DATETIME.datetime.now() - DATETIME.timedelta(minutes=5) and the GQL query should be WHERE timestamp > :fiveago ORDERED BY TIMESTAMP"...more...
  • Reported in: P1.0 (21-Apr-11)
#46920
PDF page: 66

line 10: ... to use USE GAE's login service. (one use too much?)--Konstantin Bernhardt

  • Reported in: P1.0 (21-Apr-11)
#46921
PDF page: 69

The indentation level of the first if statement in the post method is wrong. But it's correct in the pchat.py source file.--Konstantin Bernhardt

  • Reported in: P1.0 (21-Apr-11)
#46922
PDF page: 69

I'm sorry. The indentation of the first if statement in the post method in the pchat.py source file is wrong too.--Konstantin Bernhardt

  • Reported in: P1.0 (21-Apr-11)
#46923
PDF page: 69
post method: the local variable user is read before assignment. move the 3rd line (user = users.get ...) to the top of the post methods body--Konstan...more...
  • Reported in: P1.0 (05-Oct-12)
#49926
Paper page: 70
Downloaded both the template-chat files, and the multi-chat files. Can't seem to get either of them to work. Am getting a "raise BadValueError('Proper...more...
  • Reported in: P1.0 (05-Oct-12)
#49927
PDF page: 70
Downloaded both the template-chat files, and the multi-chat files. Can't seem to get either of them to work. Am getting a "raise BadValueError('Proper...more...
  • Reported in: B8.0 (16-Mar-11)
#46587
PDF page: 71
Authentication description is very limited in the book and adds little value to what is available in google's own "getting started" tutorial Some i...more...
  • Reported in: B7.0 (13-Feb-11)
#46394
PDF page: 78
In the code for the master.html template, there is a loop that prints <li> elements for the primary navigation section. Within that loop, the lin...more...
  • Reported in: P1.0 (24-Apr-11)
#46941
PDF page: 82
I tried to run the source code from chapter 6 and got the following error: no matching index found. This query needs this index: - kind: ChatMess...more...
  • Reported in: P1.0 (31-May-11)
#47136
PDF page: 94
The closing body tag </body> is in the wrong place. In the document, it has been placed within the closing div tag for the content div. Move the cl...more...
  • Reported in: P1.0 (30-Apr-11)
#47005
PDF page: 128
4th paragraph: GreetingServiceImpl.java is not in the client package, it's in the server package. I think you mean that GreetingServiceAsync.java is...more...
  • Reported in: P1.0 (30-Apr-11)
#47006
PDF page: 137

2) The service interface declaration must extend >>T<<he GWT interface--Konstantin Bernhardt

  • Reported in: P1.0 (01-May-11)
#47007
PDF page: 158
Is the bottomPanel a HorizontalPanel or a VerticalPanel. In the source code bottomPanel is a HorizontalPanel, but in the description it is a Vertical...more...
  • Reported in: P1.0 (01-May-11)
#47008
PDF page: 159

Does the title label get the style apptitle or title?
In the source code (p. 158) it gets title.
--Konstantin Bernhardt

  • Reported in: P1.0 (01-May-11)
#47009
PDF page: 159

"(There is a setStyle name, but ..." <- setStyleName not setStyle name--Konstantin Bernhardt

  • Reported in: P1.0 (01-May-11)
#47010
PDF page: 159

(3)
In the code above, we called addStyle to alter the appearance <- addStyleName
--Konstantin Bernhardt

  • Reported in: P1.0 (02-Sep-11)
#47487
PDF page: 166

/** Fired when the user types in the nameField. */
"nameField" should be "messageBox"--Dotun Kola-Olaleye

  • Reported in: P1.0 (03-May-11)
#47019
PDF page: 170
11.6 The GWT Widget Gallery. . . I think it's best to provide a link to the newest WidgetGallery. .../webtoolkit/doc/1.6/RefWidgetGallery.html <...more...
  • Reported in: P1.0 (03-May-11)
#47020
PDF page: 171

We’ll examine WE else we need in our server
--Konstantin Bernhardt