I'm really impressed with the functionality and capability found in the GWT async RPC mechanism which defines
com.google.gwt.user.client.rpc.RemoteService
com.google.gwt.user.server.rpc.RemoveServiceServlet
Due to the extreme limitations in the GAE hosting environment, I'm needing to bridge requests from a GAE server to another non...
Hello,
I am planning on creating an application for the students of my school, and I want to restrict user registration to emails of the form [email protected]. I would prefer to not manually create the user table and do the password hashing and such. Are there any libraries you can recommend for this?
Thanks for the help.
...
I have been looking into android development for some time and would really like to create a networked game. I also think this would be an excellent oppurtunity to familiarize myself with the app engine framework, but it seems more app engine applications are built around browser services.
This is not nessecarily a problem for me, but...
My current App is written in Python on GAE which can do Contacts management, Genealogy, Social Networking, Photo sharing, Telecom Integration (SMS, iVRS, URL Billing), CRON and performs business logic operations for our Mobile Apps. Current Architecture indlues python, django, jquery, memcache and few telecom APIs.
Now, It feels that an...
My App requires Daily reports based on various user activities. My current design does not sum the daily totals in database, which means I must compute them everytime.
For example A report that shows Top 100 users based on the number of submissions they have made on a given day.
For such a report If I have 50,000 users, what is the ...
I'm using App Engine's web-app templating system (similar if not identical to django)
Normally I render templates from my static directory /templates/ as
follows in my main handler:
dirname = os.path.dirname(__file__)
template_file = os.path.join(dirname, os.path.join('templates', template_name))
output = template.render(template_f...
Why am I receiving the exception below if the type of both entities is PersistentLogin? I thought that would mean they are in the same entity group, but I guess that is an incorrect assumption. Any ideas how to fix this?
This is the code:
// the class is marked with @Transactional
@Override
public final void removeUserTokens(final Stri...
How can I redirect 500 Errors from google appengine to another location.
The following is an example scenario:
All requests to http://example.appspot.com/testfile.ext in case of a 500 error should redirect to http://www.example.com/testfile.ext
This is basically combining the 500 error with a 302 redirect. Is it possible if not is th...
According to the App Engine docs, the PersistenceManagerFactory should only be created once in the application.
It provides this sample:
package guestbook;
import javax.jdo.JDOHelper;
import javax.jdo.PersistenceManagerFactory;
public final class PMF {
private static final PersistenceManagerFactory pmfInstance =
JDOHelper...
I'm implementing a frontpage with "hot" stories based on a certain ranking algorithm. However, I can't figure out how to pass Appengine's datastore my own sort function (like I can in python with sort(key=ranking_function)). I want something like this:
class Story(db.Model):
user = db.ReferenceProperty(User)
text = db.TextProp...
Hello,
In Python, say I've got a model of class A that has a ReferenceProperty b to model class B, which has a ReferenceProperty c to model class C.
Assuming an instance of A already exists in the datastore, I can get it by saying:
q = A.all()
a = q.get()
In this scenario, how does entity loading work? Is a.b retrieved when a is ret...
I have successfully implemented this from android to a java httpservlet on google app engine, but I'd like to use python instead for the server side. I'm new to python. Has anyone done this? I have the guestbook example up and running, but I can't seem to send posts from my android app to the server.
I'd also like to issue a string res...
I was going to CSV based export/import for large data with app engine. My idea was just simple.
First column of CSV would be key of entity.
If it's not empty, that row means existing entity and should overwrite old one.
Else, that row is new entity and should create new one.
I could export key of entity by adding key property.
clas...
So far I have found an example for Django that uses M2Crypto, but because M2Crypto is based on a C library, it cannot be run on GAE. Does anyone have a working code for creating an encrypted PayPal button dynamically in Google App Engine?
In a nutshell, I need to translate the following Ruby code into Python. It's taken from PayPal's We...
I'm currently getting the AccessControlException below when I deploy to app engine (I don't see it when I run in my local environment). I'm using GAE 1.3.1, Spring 3.0.1, and Spring Security 3.0.2. Any ideas how to get around this issue? It appears to be an issue with Spring Security trying to get the system class loader, but I'm not sur...
Hello,
I wanted to use Queue tasks on my GAE application.
I need to pass two parameters to my URL servlet runTasks. So i am doing this.
But when I print the values for start and end it prints null for start and 15 for end.
Am i doing anything wrong? Is this the right way to pass the parameters?
TaskOptions to = null;
to = TaskOpti...
I have a trouble with exception on importing (compiling) some GWT project into Eclipse.
My environment is
Mac OS X 1.6.2
Eclipse IDE for Java EE Developers 1.2.1.20090918-0703 epp.package.jee
Google App Engine Java SDK 1.3.1 1.3.1.v201002101412
Google Web Toolkit SDK 2.0.3 2.0.3.v201002191036
Exception Stack
java.lang.ClassNo...
So Here is the problem, I've created an entity with a field of type "String" made several of those items and now realise I need more room and therefore need to convert that field to "Text". I tried the null trick but that isn't one of the options. Any ideas?
...
What is the difference between the two lines:
A. loginURL = users.create_login_url(os.environ['PATH_INFO'])
B. loginURL = users.create_login_url(self.request.uri)
For my app engine project I want a user to make customized maps. But if he is not logged in, before he can start a new map project, I want to redirect him to login, and then...
Is there any way to run one same instance of JavaCcript(jQuery) on the server side and call it from a Java method? :)
I am interested to know whether it is possible to run it on the server side (not clientside), like Google app engine.
...