Beginning Java Google App Engine

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

I was very frustrated with my purchase and I was contemplating to write a review out of frustration. However, after I've seen the 5-star reviews from other users, I couldn't believe my eyes. One review was raving about the code samples (absolutely ridiculous) and then I saw one other reader leaving a comment for the review saying that he's been working on the sample code for weeks and still couldn't make it work and I can relate to that. I pre-order this book from Amazon and when I start reading it, it was a total disappointment. I've been working on GAE/J for a while now and I bought this book specifically to learn more about Google Accounts. The example projects are not complete and it requires you to fill in the blanks to make them work. I've also looked at the other chapters and they lack in content. The book tries to give you overall, breadth-first view of the technology (as you would expect from a beginner level book), but while doing so it mentions about bunch of GAE topics, but fails on giving good coverage for that topic. Especially in chapter 4, when the author(s) talk about frameworks, they don't mention about gotchas on how to make these frameworks work at the first place, because if you're using Spring, BlazeDS and GraniteDS (or any other frameworks, you need to do certain tweaks to make these frameworks/technologies/APIs work with GAE, because some of the Java APIs are "black-listed" by the App Engine for the obvious reasons. If you're a beginner, this is not a book for you. If you're advanced, then again this book doesn't give you enough in-depth information of the GAE/J topics. In conclusion, it's sad to say, but this book is useless! You can save money just by going to Google's App Engine website and find more up-to-date and complete information, because they keep changing/upgrading the SDKs for GWT and the App Engine almost every month.

Author(s): Kyle Roche, Jeff Douglas
Edition: 1
Publisher: Apress
Year: 2009

Language: English
Pages: 265

Prelim......Page 1
Contents at a Glance......Page 7
Contents......Page 9
Foreword......Page 15
About the Authors......Page 17
About the Technical Reviewer......Page 19
Acknowledgments......Page 21
Introduction......Page 23
Cloud Computing and App Engine......Page 24
Find More Time to Innovate......Page 27
What You’ll Learn in This Book......Page 28
Summary......Page 29
App Engine Architecture......Page 30
Being a Good Neighbor With Quotas......Page 32
Billable and Fixed Quotas......Page 33
Requests......Page 35
Datastore......Page 37
Mail......Page 40
URL Fetch......Page 41
XMPP......Page 42
Image Manipulation......Page 43
Memcache......Page 44
Components of an App Engine Application......Page 45
Summary......Page 46
Where Do We Start?......Page 48
Installing the Google Plugin for Eclipse......Page 49
Launching the Demo Application......Page 52
Create Your First App Engine Project......Page 53
Project Artifacts......Page 54
Ready to Launch......Page 60
Deploying Your Sample Application......Page 62
Summary......Page 65
Choosing a Framework......Page 66
Views......Page 69
Model......Page 82
Controller......Page 87
PersistenceManager......Page 92
Spring MVC......Page 93
Server Configuration......Page 94
Views......Page 95
Adobe Flex......Page 97
Server Configuration......Page 99
Client-Side Code......Page 102
Server-Side Code......Page 106
Summary......Page 111
Functional Specifications......Page 112
Timecard UI Mock-up......Page 113
Presentation......Page 114
Using Google Web Toolkit......Page 115
Creating Your Project......Page 116
The Host Page......Page 117
Hosted Mode......Page 119
Developing Your Application......Page 120
Required Imports......Page 124
Coding Your UI......Page 125
Modifying Your Hosted Page......Page 130
Handling Client-Side Events......Page 131
Summary......Page 144
Introducing Google Accounts......Page 146
Restricting Access to Resources......Page 147
Users API......Page 148
Development Mode......Page 149
Adding Authentication for Your Application......Page 150
LoginInfo Class......Page 151
LoginService and LoginServiceAsync Interfaces......Page 152
Google Accounts Login Implementation......Page 153
Modifying the User Interface......Page 154
Summary......Page 156
Introducing the App Engine Datastore......Page 158
Working with Entities......Page 159
Classes and Fields......Page 160
Creating Entities......Page 166
Updating Entities......Page 167
Performing Queries with JDOQL......Page 168
Filtering Queries......Page 169
Using Indexes......Page 170
Creating Indexes In Development Mode......Page 171
Using Transactions......Page 172
Making Remote Procedure Calls with GWT RPC......Page 173
TimeEntryData POJO......Page 174
TimeEntryEntity JDO Class......Page 176
NotLoggedIn Exception......Page 178
Creating Your Data Service......Page 179
Invoking the Service from the GWT Client......Page 184
Displaying Timecard Entries......Page 189
Summary......Page 191
Setting up the Project......Page 192
Memcache Service......Page 194
URL Fetch Service......Page 198
Images Service......Page 201
Creating the Java Classes......Page 202
Writing the ImageObject Class......Page 203
Writing the ImageSource Class......Page 205
Writing the ImageTransform Class......Page 206
Completing the Application......Page 209
Testing the Service......Page 210
Mail API......Page 212
XMPP Service......Page 215
Summary......Page 218
Managing Your App Engine Application......Page 220
The Application Dashboard......Page 222
Application Versioning......Page 226
Analyzing Log Files......Page 227
Downloading Log Files......Page 228
Google Wave Gadgets......Page 229
Google Wave Robots......Page 230
Integration with Salesforce.com......Page 237
Setting Up a Salesforce.com Development Org......Page 238
Connecting to the Development Org......Page 239
Summary......Page 241
¦A......Page 244
¦C......Page 246
¦D......Page 247
¦......Page 248
¦F......Page 249
¦H......Page 250
¦I......Page 251
¦J......Page 252
¦K......Page 253
¦......Page 254
¦R......Page 255
¦S......Page 256
¦T......Page 257
¦V......Page 258
¦Z......Page 259