| |

Google Cloud Endpoints – Overloaded Methods not Supported

The title says it all, one cannot make use of method overloading when working with Endpoints. Not a big deal one might think. Well, as usual, it depends. To me, method overloading is a feature I appreciate, since it allows for a great naming consistency and promotes polymorphism, one of the major deals with OOP….

| |

Google Cloud Endpoints – Watch for Missing Annotations

One of the early frustrations I had with Endpoints were run-time exceptions. Turns out, regardless of what the culprit is, the dev server (jetty 6) wouldn’t reveal much details of what exactly went wrong. Whatever the problem bet the server fails with java.io.IOException: Failed to retrieve API configs with status: 500. If you are a newbie…

| |

Google App Engine and Android – Pros and Cons, Challenges

I spent almost three months working on my first “bigger” Android project. My goal was to build a simple gaming app backed by a cloud platform from ground up. It has mostly been an enjoyable experience, but as usual there were times I found myself clueless. The overall effort was also way higher then initially…

Concurrency patterns – Half-Sync / Half-Async

The pattern separates asynchronous I/O from the synchronous one. Main thread doesn’t block on incoming client requests and long-running operations are offloaded to a dedicated synchronous layer. Processing results are delivered by the means of callbacks. Application largely used in operating systems (hardware interrupts, application management) Android – AsyncTask (file downloads ..) A decent queuing…