Tag Archives: Google App Engine
New Google App Engine SDK 1.4.0 released with major improvements

New Google App Engine SDK 1.4.0 released with major improvements

Google App Engine team has rolled out a major release for this year. In release of 1.4.0 they have done a lot of improvements and increased limits. I am very happy that they have increased the time limit of executing cron job (background task) from 30 seconds to 10 minute. For high demanding apps, its […]

Read more
How to use and retain Twitter4J OAuth access token

How to use and retain Twitter4J OAuth access token

I¬† was stuck in a problem that how to re use access token, once user has authenticated by Twitter (on call back URL). I got it working. There was problem in my understanding about request token vs access token. When user first time comes on call backed URL. I take request token and token secret […]

Read more
Useful cheat sheets on Cloud Computing and Google App Engine for Java

Useful cheat sheets on Cloud Computing and Google App Engine for Java

Just read cheat sheets (Refcard) by Dzone on Cloud Computing and Google App Engine for Java. They contain a very jumped to the point and quick reference on these things. You can read to have a quick overview. Read them here: Cloud Computing Google App Engine for Java [ad#co-2]

Read more
Got two books on Google App Engine for Java

Got two books on Google App Engine for Java

Recently I got two books on Google App Engine for Java. Programming Google App Engine by Oreilly and Beginning Google App Engine by Apress. There is less material and comprehensive online tutorials available on this. So its better that you read book on it. I started reading Oreilly’s book. I completed some of the basic […]

Read more
Spoken on Google App Engine at a conference in UET

Spoken on Google App Engine at a conference in UET

Today I had delivered a workshop on Developing Java Web Applications In Google App Engine. This workshop was the part of events of 3rd International Conference on Open Source Systems and Technologies. It was organized by Al-Khawarizmi Institute of Computer Science , University of Engineering and Technology, Lahore. I have presented following slides there. Also […]

Read more
Tutorial: JPA on Google App Engine

Tutorial: JPA on Google App Engine

This project will create and delete an entity record. I have chosen JPA for datastore in app engine. You can also look JDO for this purpose. But my choice to go for JPA is due to Sun standardization on it. I am using App Engine SDK version 1.2.18 Project name: engineplay URL: http://engineplay.appspot.com [ad#co-2] Project […]

Read more
Upgrading to Google App Engine Java SDK 1.2.8

Upgrading to Google App Engine Java SDK 1.2.8

I was getting following exception while trying to code my first interaction with JPA in Google App Engine. After some searching I came to know that I should upgrade my App Engine SDK. To get datanucleus-enhancer-1.1.4.jar. But when I upgraded my SDK from 1.2.0 to 1.2.8. I got following exception. I got two problems to […]

Read more
Determine whether application is running on local server or App Engine

Determine whether application is running on local server or App Engine

If you are working on developing some application on Google App Engine. You may come up with such situation to switch your production code with your local dev code. Following is my solution for this problem. I have initialized a servlet from web.xml. That set appropriate value in a static boolean. I will use this […]

Read more
Domain is not working without www prefix in GAE

Domain is not working without www prefix in GAE

The current issue I am working on is to make my naked domain http://mydomain.com to redirect to http://www.mydomain.com in Google App Engine. With www prefix I have configured my domain. But my naked domain is not working. I just found on Google support site that they are no more supporting naked URLs for their app […]

Read more
How to avoid DeadlineExceededException in Google App Engine

How to avoid DeadlineExceededException in Google App Engine

If you are developing web application on Google App Engine for Java. And you dont know what this exception is. You can be in trouble. The container throws this exception for those requests which take time more than 30 seconds. In other words GAE wants every requests to be fullfilled within 30 seconds. Case I […]

Read more