google-app-engine

Google App Engine: 1000 records limit still present with JPA?

The new release 1.3.1 of GAE has dropped the 1000 records limit: No more 1000 result limit - That's right: with addition of Cursors and the culmination of many smaller Datastore stability and performance improvements over the last few months, we're now confident enough to remove the maximum result limit altogether. Howe...

Better solution for dev-enviorment/debugging for google app engine?

Hi, After a few months developing in GAE using google's standalone server (dev_appserver) and Aptana Studio I'm start to get more and more annoyed over my current development environment. As of now there's a couple of things that bothers me. I don't get any code assistants from my own written methods and classes. [Solved] One have t...

Why do I get a NullPointerException in this code?

public void addEmp(String emp_name, String emp_sal, String did) { EntityManagerFactory emf = Persistence.createEntityManagerFactory("transactions-optional"); EntityManager em = emf.createEntityManager(); try { String s = did; EntityTransaction transaction = em.getTransaction(); transaction.begin...

google app engine Bigtable

I have doubt using jpa. I defined the datanucleus connection for MYSQL as follows. datanucleus.ConnectionDriverName=com.mysql.jdbc.Driver datanucleus.ConnectionURL=jdbc:mysql://localhost/myDB datanucleus.ConnectionUserName=... datanucleus.ConnectionPassword=.. My constraint is if I want to connect to google app engine datastore(ie Big...

edit and save image in google app engine

Hi, In my GAE Java, I would like the user to be able to edit the images that I serve, using Javascript, and then upload that image back into the GAE. The reason I am thinking of using Javascript is that GAE Java does not have many image editing capabilities. Original image is stored as Blob in DataStore. Image is served (currently) j...

Facebook Connect with GWT and App Engine (Java)

Discovered a problem with connecting all together - Facebook, GWT and App Engine. I need to authenticate user on my web site hosted on App Engine (Java) that uses GWT. After authentication, some information should be passed to server from facebook - like profile information, user list, etc. Currently am trying to use facebook4gwt and a...

consuming SOAP web serives in google app engine and GWT

Hi, I am writing a web application in GWT, I am trying to interact with a SOAP web service. I know how to do it in regular java environment using the JAX-WS library, but GAE (Google App Engine) does not support it. see http://groups.google.com/group/google-appengine-java/web/will-it-play-in-app-engine is there a way of consuming a wsd...

How does the app know whether it's ok to send XMPP messages to the user in App Engine?

I've read this paragraph from the App Engine documentation a dozen times and still am completely in the dark about how chat invitations work: Invitations Google Talk and other chat servers will only accept messages for users that are "subscribed" to the sender, either because the user invited the sender to chat or becaus...

Complex time schedule for cron job in AppEngine(Java)

I need a cron job to run on every 15 mins in every weekday just from 8:00 to 16:00. How to set the Schedule Format for this cron job? ...

Check if a user is typing using App Engine XMPP

The XMPP service in GAE is great and all, but I'm really interested in when a user opens up a window to send a message, or when he/she starts typing. I think XMPP supports this, because Pidgin does this, as does Google Talk, so why not the XMPP/GAE service? ...

Where can I find a good iPhone/GWT/AppEngine example?

These seem like a great combination--I'd expect to see more on at least GWT/iPhone integration, but there isn't much. I've looked through the reader example that Google made, but it doesn't seem to take advantage of many of the iPhone features. I was wondering if anyone knew of a tutorial/resource that showed how to use things like loc...

PUT request turns into GET?

A form in my app has the following: <form action="/faculty/update/agxzdGFuZHJld3NqaHNyDQsSB0ZhY3VsdHkYBww" method="PUT" accept-charset="utf-8"> However, upon submission the request is treated as a GET and is handled by def get() and not def put(). Any help would be appreciated! Edit: Thanks for the responses. If I can't use method="...

What's the raw GQL to check a ReferenceProperty?

I have the following models: class Author(db.Model): name = db.StringProperty() class Story(db.Model): author = db.ReferenceProperty(Author) What's the raw GQL to find all Stories by a certain author. In regular SQL, I will use joins but I don't think that's available in GQL. Edit: I'm looking for the raw GQL way, I know h...

Reverse URL mapping with AppEngine

Hey everyone, I was wondering if there's a function like Django's django.core.urlresolvers.reverse for Google's App Engine. I've been searching everywhere but haven't been able to find anything about it. Thanks in advance ...

Cant we use a Set or collection as a return type in GAE?

In my code i have used Set<Employees> as a return type to my function addEmp(). So, i m gettin an Compilation error. The Error is: Compiling module com.employeedepartmentgae.Employeedepartmentgae Refreshing module from source Validating newly compiled units Removing units with errors [ERROR] Errors in 'fi...

Online storage: Google Spreadsheet v.s. GAE Bigtable

As an online storage, two of them can be a choice, with officially supported API. Both of them have its advantage and weakness. Google SpreadSheet supports RSS feed, but has limited no. of rows. GAE Bigtable is more scalable, but harder to be remotely accessed by external party. Any other comparison? and what's your favorite? ...

In Google App Engine, how do I use reference properties between two entities that reference each other?

If I have two types of models that each reference each other, whichever one I try to define first says it does not recognize the referenced other type (because it is defined further down in the file). For example: class Author(db.Model): most_recent_book = db.ReferenceProperty(Book) class Book(db.Model): author = db.ReferencePr...

When can there be many Waves in a context on Google Wave

In a Google Wave Robot, the event handler gets a Context object. One of the methods is GetWaves, that is documented as: """Returns the list of waves associated with this session.""" I am trying to understand when this would return more than one Wave. What are the situations where there is more than one Wave associated with the sessio...

App Engine, Python: how to filter query by ID?

I try to get data from app engine datastore. Filtering query by 'title' (or any other property) works: obj = db.Query(PageModel).filter('title',title)[0] But the same thing with ID - doesn't: obj = db.Query(PageModel).filter('ID',page_id)[0] I think there is something special about IDs and KEYs in datastore, but I cant find, how t...

app-engine-patch is dead. Now what is the best way to use Django on Google App Engine?

The app-engine-patch authors have officially marked this wonderful project as dead on their website. Over the last year a lot of people have asked what the best way to run Django on Google App Engine was, and time after time people have pointed to app-engine-patch being the way to go. Now that this project is dead, I would love to revis...