Re: [appengine-java] Re: App Engine identifier. Key vs Id

2011-04-06 Thread Luca Matteis
Thanks for this. But is there a way to get a specific entity using the "ID/Name" value generated by the data-store? On Wed, Apr 6, 2011 at 8:19 AM, Ian Marshall wrote: > I use the following code to define my persistent entity classes in > JDO. > > I have find my persistent entities by encoded key

[appengine-java] Can i run a python and java server pointing to the same appspot id but different versions?

2011-04-06 Thread ruskyn
Hi All, I was wondering if this can be done. If so, supposed my datastore uses JDO , how can i provide access to my python counterpart. Apologies if my question sounds bizarre ! -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To

Re: [appengine-java] Re: JPA/JDO vs low level API

2011-04-06 Thread Ikai Lan (Google)
It's a mixed bag with regards to Google internal projects. There are folks using JDO/JPA, and there are folks who go straight to the Low-Level API. I spoke with one internal team who mentioned an interest in Objectify but were concerned it could be abandoned because they had had a similar experien

[appengine-java] Re: App Engine identifier. Key vs Id

2011-04-06 Thread Ian Marshall
Yes, there is. Code extracts from what I use are below. I trust that this helps. Finding an object by its Long ID This is interesting since one needs to build a key containing the ancestor path from the object you want to find all the way back to its entity group

Re: [appengine-java] JPA/JDO vs low level API

2011-04-06 Thread SkYlEsS
Hi Jeff' In fact, I'm not sure to understand what you means by “Because of GAE's transaction model, this is actually necessary quite often.” : what are the characteristics/limitations of GAE's transaction model you thinking about ? Thx -- You received this message because you are subscribed t

[appengine-java] How can I make the session to be held open as long as the user got its browser opened?

2011-04-06 Thread Daniel
Hi I need to keep the session opened as long as the user got its browser opened in my web app... Is there such a setting that i can enable for my web app? If not, Is there any suggester/recommend way to achieve it? Thanks ahead! Daniel. -- You received this message because you are subscribe

Re: [appengine-java] JPA/JDO vs low level API

2011-04-06 Thread Jeff Schnitzer
You can only read or write from a single entity group in a transaction. Yet I often find that during the course of a transaction I require multiple pieces of additional data that are not part of my entity group. For example, during Similarity's* login process I synchronize a lot of data into your

Re: [appengine-java] How to authenticate from iPhone client to App Engine server

2011-04-06 Thread Ikai Lan (Google)
I'm going to plead with you not to ask the user for a username and password - this trains users in insecure behaviors. Instead, look into a solution like OAuth: http://code.google.com/appengine/docs/python/oauth/overview.html We've even published a Google Code blog about this: http://googlemac.b

[appengine-java] Custom security for servlets

2011-04-06 Thread Amit Pandey
Hi All, I wrote a servlet in app engine which return some response. It will be invoked by java stand alone applications (it is not going to invoke by browser at all). I want to apply some security constraint for that servlet so that servlet will accesible to only authenticated user. I was thinking

Re: [appengine-java] JPA/JDO vs low level API

2011-04-06 Thread SkYlEsS
Ok thank you, it's just what I thought ;) -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-

Re: [appengine-java] How to authenticate from iPhone client to App Engine server

2011-04-06 Thread Peter
Ikai, Thank you for your help. Regards, Peter -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appe

[appengine-java] Re: JPA/JDO vs low level API

2011-04-06 Thread Matthew Adams
On Apr 6, 5:23 am, Jeff Schnitzer wrote: > The thread-local transaction model that JPA/JDO inherited from EJB > assumes the flexibility of RDBMS transactions that let you touch any > piece of data you want.  That just doesn't work on appengine. > > Jeff Don't forget that JDO did not inherit the E

[appengine-java] Happy Birthday Google App Engine !!

2011-04-06 Thread Rajkumar Radhakrishnan
Hi, It is now 3 years since Google App Engine was first released. *Happy Birthday Google App Engine !!* A warm thanks to folks at Google, for continuing to make Google App Engine better and for your support in the developer groups and in other forums. Keep up the good work !! For me, *Google App

[appengine-java] bulkloader error

2011-04-06 Thread Aswath Satrasala
Hello, I get the following errors while uploading the data to my appid on the cloud using bulk-loader. Also any tips on making the uploading/downloading data faster. It is taking 2-3 hrs for my data to download. Regards, -Aswath Uploading data records. [INFO] Logging to bulkloader-log-201104

[appengine-java] Re: Happy Birthday Google App Engine !!

2011-04-06 Thread Thomas Wiradikusuma
I agree with Rajkumar, GAE/J is a very important service, especially for indie Java developers like me. The service is getting better, and the developer groups are vibrant. Happy Birthday GAE! regards, Thomas Wiradikusuma On Apr 7, 12:17 pm, Rajkumar Radhakrishnan wrote: > Hi, > > It is now 3

[appengine-java] Re: cron: AppEngineConfigException: schedule every 5 mins from 00:04 to 23:59 failed to parse

2011-04-06 Thread Mickey Kataria (Google Employee)
Are you seeing this error when you try to upload your app? Are you using the latest released (1.4.3) SDK? On Apr 6, 5:40 am, epure wrote: > Ping -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email t

[appengine-java] unable to update app:Failed to compile jsp files

2011-04-06 Thread Eric Wu
I got problem when I deploy my project to Google App Engine. The project works ok on localhost. When deploying, there was a error message I post below: How to solve it? Creating staging directory Scanning for jsp files. Compiling jsp files. com.google.appengine.tools.admin.JspCompilationException