Category Archives: Tips

Google Cloud Endpoints Tips #6 : The @APIResourceProperty Annotation

In this tip, we are going to discuss the @APIResourceProperty annotation, which is a very handy annotation that you could use for your API. The documentation states “@ApiResourceProperty provides provides more control over how resource properties are exposed in the API. … Continue reading

Posted in APIs, AppEngineTips, Cloud Computing, Google App Engine, Tips | 11 Comments

Google Cloud Endpoints Tips #4 : Understand @API and @APIMethod Annotations

Google Cloud Endpoints provides convenient Annotations in Java to mark which of your classes is the API and which methods are exposed as the API Methods. It does that via 2 convenient annotations: @API and @APIMethod. The key points to remember for these … Continue reading

Posted in AppEngineTips, Cloud Computing, Google App Engine, Tips | 11 Comments

Google Cloud Endpoints Tips #3 : Understand Injected Types

Typically, when you design your API and the associated methods, you do spend some time deciding what parameters will be passed for each API Method. It pays to know about Injected Types, which are parameters that are given a special … Continue reading

Posted in APIs, Cloud Computing, Google App Engine, Tips | 11 Comments

Google Cloud Endpoints Tips #2 : Throw the Right Exception Classes

One of the hallmarks of a well-written API is to understand what it throws back to the clients when there is an exception. For e.g. a REST API should make use of the correct HTTP Status Codes in its response. … Continue reading

Posted in APIs, AppEngineTips, Cloud Computing, Google App Engine, Tips | 11 Comments

Google Cloud Endpoints Tips #1: Check Endpoint Deployment Status

While deploying Cloud Endpoints to a live appspot.com domain, it is important to know if your endpoints deployed OK or not. The Logs Viewer of App Engine provides a good way for you to determine that. Do the following: Deploy … Continue reading

Posted in APIs, AppEngineTips, Cloud Computing, Google App Engine, Tips | 11 Comments

App Engine Dev Tips #10 : Disable / Deleting an Application

You would tend to think that Deleting an Application should be a straight forward task via the Admin console but it is not and it shouldn’t be. One thing to keep in mind before you delete the application: Are you … Continue reading

Posted in Cloud Computing, Google App Engine, Tips | Leave a comment

App Engine Dev Tips #9 : App Engine Services Configuration

App Engine provides applications with various services like XMPP and Mail Service. To use these services, you would typically understand the API and use that in your application. When you deploy your App Engine application that utilises any of these … Continue reading

Posted in Cloud Computing, Google App Engine, Tips | Leave a comment

App Engine Dev Tips #8 : Scheduled Tasks (Cron Jobs)

App Engine provides a great feature in the form of Scheduled Tasks (Cron Jobs) to run your code at scheduled interval. For e.g. if you wanted to consolidate a report of certain data once a day, you could schedule a … Continue reading

Posted in Cloud Computing, Google App Engine, Tips | Leave a comment

App Engine Dev Tips #7 : Datastore Tips

Here are a few tips to dealing with the Datastore: Persistence is important in your applications. Any application that is useful will eventually need some persistence or the other. So do not stay away from learning it. The GAE Datastore … Continue reading

Posted in Cloud Computing, Google App Engine, Tips | Leave a comment

App Engine Dev Tips #6 : Understand Application Versions

App Engine makes it easy for you to have multiple versions of the same application in the cloud. This is a very handy feature and allows you to create a new version of your application that you can test without … Continue reading

Posted in Cloud Computing, Google App Engine, Tips | 1 Comment