google-app-engine

RESTlet 2.0 tutorial application does not work on appengine

I have been playing with the source code available from the following tutorial. The GWT/GAE application works in development mode, however when its deployed, the server always returns the response in the JSON format. I am using the Restlet 2.0 Testing jars, and have also included the dependent libraries. thank you ...

Google apps / Google app engine relations

Hello, I've got a question concerning the two "products" Google provides : google apps (dedicated gmail, docs, calendar...) and google app engine (application in the cloud). If I want to develop an application inside google apps, is it necessarily on google app engine ? Or can I develop a basic webapp with wathever i want (spring, grai...

what is the max size of TextProperty on google app engine .

class JsTree_JsonData(db.Model): JsonData=db.TextProperty() i can;t find what is the TextProperty did you know ? thanks ...

Search by a property of a reference

I have the following models: class Station(db.Model): code = db.StringProperty(required=True) name = db.StringProperty(required=True) class Schedule(db.Model): tripCode = db.StringProperty(required=True) station = db.ReferenceProperty(Station, required=True) arrivalTime = db.TimeProperty(required=True) depar...

What happens if an application calls more than 10 asynchronous URL Fetch on Google App Engine ?

Reading the Google App Engine documentation on asynchronous URL Fetch: The app can have up to 10 simultaneous asynchronous URL Fetch calls What happens if an application calls more than 10 async fetch at a time? Does Google App Engine raise an exception or simply queue the remain calls waiting to serve them? ...

p3p header on GAE (Google App Engine)

I'm trying to get login working with Google App Engine via an IFRAME. It works fine on Firefox, Chrome, Opera etc. Having a problem with IE, due to the "p3p" issue. The problem is I can't find a way to add the p3p header for the automatic /_ah/openid_verify?continue=.... request, which is where the cookies are set. Thanks in advance. ...

Google App Engine: Including external packages.

Hello, I understand that if you want to include external packages you have to include them in your project. So I was wondering how do you do this? Do people use one general script that auto imports them from a location. Maybe some kind of config file that lists all the external packages? Do you always zip the packages and use zipimpor...

Serve and upload blobs using the same URL

I am using the python version of Google AppEngine. I want to be able to be able to serve and upload blobs from/into the blobstore using the same URL. As an example, lets say a user can upload a display picture for himself. A GET request to /user/USERNAME/avatar will return the image, whilst a POST request to the same URL will set it. AF...

Using XMPP over GTalk server to enable my app to comunicate without showing the user is online.

Hi! I'm currently writing an Android app that should be able to communicate in real time with another app hosted in Google's app engine. Since I can't use sockets in GAE, I though maybe using XMPP over GTalk server would solve my problem. But that way the Android app would be connected to the users account and thus showing the user as b...

In Google App Engine, how do I avoid creating duplicate entities with the same attribute?

I am trying to add a transaction to keep from creating two entities with the same attribute. In my application, I am creating a new Player each time I see a new Google user logged in. My current implementation occasionally creates duplicate players when multiple json calls are made by a new Google user within a few milliseconds. When I a...

Please help = Found interface twitter4j.User, but class was expected on GAE/J

Hi; I am using twitter4j-core-2.1.2.jar. Following is my code which executed after callback url hit. Code String token = (String) session.getAttribute("token"); String tokenSecret = (String)session.getAttribute("tokenSecret"); AccessToken accessToken = new AccessToken(token, tokenSecret); Twitter twitter = new TwitterFactory...

Memcache-based rate-limiting algorithm? (Token bucket?)

I'm looking for an efficient approach to rate-limiting request from Google App Engine to a third party service. The third party service rate limits requests on a per-account basis, and on the Google App Engine side, most of the work is carried out inside tasks. Token buckets are a great general algorithm here. Q: what approach can be ...

No result when sending POST request to Google App Engine through JQuery

I'm trying to send a POST request to my GAE app through JQuery AJAX but I get no response data back. I have a very simple servlet that simply echo the "msg" I pass in. Also overriding doOptions. @Override protected void doOptions(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { resp.setH...

Where can I host a Node.js app?

Hello, I am trying to experiment with Node.js. Since it needs the V8 engine, can I run a Node.js app on any of the free cloud hosting providers: AppEngine or Heroku? If not, then what is the standard way to deploy it on the web? If yes, then how? any pointers? If on local machine, then any starters for that? Thanks ...

App engine does not store List when it is annotated with serializable and defaultFetchGroup set

I am trying to store an Jdo which has a List in it. When the list is annotated with @Persistent (defaultFetchGroup = "true") It works fine, but when I have @Persistent (serializable = "true", defaultFetchGroup = "true") It does not store the list. Does anyone know why? What do I do when I have a list of custom objects that I want...

Google App Engine + Scala2.8.0 + Lift 2, all ok, but doesn't work why?

I build a lift project with this command: mvn archetype:generate -U \ -DarchetypeGroupId=net.liftweb \ -DarchetypeArtifactId=lift-archetype-basic \ -DarchetypeVersion=2.0-scala280-SNAPSHOT \ -DarchetypeRepository=http://scala-tools.org/repo-snapshots \ -DremoteRepositories=http://scala-tools.org/repo-releases \ -DgroupId=dem...

Google App Engine - Tracking which indexes are used

I have a App Engine/Python/Django application which has grown and been modified over the past year and currently has 175 indexes. The problem is that I have not been thourough in cleaning up/removing indexes that are no longer needed. Now, I am not sure which indexes are active and which are essentially dead, but I am guessing that abou...

GQL query for <missing>

When you change data models on the app engine to add new properties those entries without a certain property are listed with the value <missing> in the online data viewer. What I'm wondering is how can I write a query to find those entries? ...

How to search in google by using java code?

How to search in google by using java code? ...

Is there any security concern with displaying the Key value to users in a URL?

I am using the Key value of entities in my datastore as the unique identifier in the URL for pulling up a record: http://mysite.appspot.com/myaction/1x7s3fgdlbnRlcklkcicLAbcXc2VyQWNjb3VudCIFYW9uZ This is not a very attractive solution, nor is it SEO friendly, but it's the easiest way I've found to identify an entity uniquely in App En...