[appengine-java] gae eclipse plugin statusbar

2010-10-11 Thread atomi
In eclipse, the gae plugin adds an area in the status bar that as far as i can tell is used solely for notification of updates to the gae plugin. I think it takes up valuable space for more important information and isn't really needed. An option to remove it would be great. Thanks. See:

[appengine-java] Re: API CRUD interface for application ?

2010-10-11 Thread Didier Durand
Hi Maxim, When you say Objectify is overkill,what do you mean ? Did you benchmark it ? I switched ito it from JDO and I am pretty satisfied: slick and fast. What is bad about it from your perspective ? regards didier On Oct 10, 11:28 pm, Maxim Veksler ma...@vekslers.org wrote: Hello, The

[appengine-java] Exception in struts resource bundle

2010-10-11 Thread Puneet
Hi, I am using Struts 2.0.14 + Spring 2.5 in an appengine application. When i saw the logs, it was full of exceptions (pasted below.). Please note that the application is running fine upon deployment, don't know why these exceptions are being raised...they are in thousands of numbers. I guess it

Re: [appengine-java] Re: API CRUD interface for application ?

2010-10-11 Thread Maxim Veksler
Hi Didler, This is a bit off topic from the main discussion I was hoping to have on this thread but still: Objectify is an over kill *for our needs*. It's faster for us to simply wrap calls to low level DataStore in LowLevelDataStore.java calls we make (which return an Entity, ListKey,

[appengine-java] makeTransientAll not working

2010-10-11 Thread Puneet
In the below method, the makeTransientAll method is not working. I am not able to show the contents of returned List in jsp. @Override public ListParty getParty (String name) { ListParty results = null; PersistenceManager pm = PMF.get().getPersistenceManager(); Query

Re: [appengine-java] makeTransientAll not working

2010-10-11 Thread Cyrille Vincey
Remove the line pm.makeTransientAll((Collection)results); and it should work fine. And no need for the line query.closeAll();) as well. On 11/10/10 12:14, Puneet puneet.nah...@gmail.com wrote: In the below method, the makeTransientAll method is not working. I am not able to show the contents of

[appengine-java] Re: makeTransientAll not working

2010-10-11 Thread Puneet
Whether i remove pm.makeTransientAll((Collection)results); or NOT, i am getting the following exception. Please note i am using struts v 2.0.14. Basically i am trying to show the results list that is returned from the above method in a jsp via struts-tags. I am getting error in the following line:

[appengine-java] Re: Problem with persist a child class

2010-10-11 Thread Ian Marshall
Have you seen datanucleus-appengine issue 28 (Cannot add child to existing one-to-many if parent has Long or unencoded String pk)? Might this issue relate to your problem? I encountered this in the past and had to change the data type of the child persistent entity primary key to work around this

[appengine-java] Is MemcacheService obtained from getMemcacheService(namespace) thread safe?

2010-10-11 Thread Maxim Veksler
Hi, Well the title pretty much says it all. Is the memcache low level interface of AppEngine Java SDK thread safe? I would like to hold a reference to it in a static class level reference field. Thanks, Maxim. -- You received this message because you are subscribed to the Google Groups

[appengine-java] Advice on Localization in Datastore

2010-10-11 Thread efleming969
I would like to hear any thoughts on storing localized data in the datastore. I'm using the low-level api to access my data and currently using separate entity kinds (ie. somekind_en_US, somekind_fr_FR, etc). This may make it difficult to fall back on a value if the localized data has not been

[appengine-java] Advice on Localization in Datastore

2010-10-11 Thread efleming969
I would like to hear any thoughts on storing localized data in the datastore. I'm using the low-level api to access my data and currently using separate entity kinds (ie. somekind_en_US, somekind_fr_FR, etc). This may make it difficult to fall back on a value if the localized data has not been

[appengine-java] Re: App Engine and IP Addresses

2010-10-11 Thread Benjamin
Guys - thank you. It's working great. I'm actually impressed at how I can us the IP i get from google.com or appspot.com and as long as I provide the host my POST get's directed to my app engine app. I will post more about this in my blog: http://nimbits.blogspot.com/ I now have an Arduino

[appengine-java] Re: Cant compile javax.crypto

2010-10-11 Thread Stuart Johnson
Anyone? It's ok to use javax.crypto in App Engine isn't it? -- 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-j...@googlegroups.com. To unsubscribe from this group, send email to

[appengine-java] Re: CPU Time Overload

2010-10-11 Thread jdeskins
Looks like you are creating a new Vote object for every vote on a poll if I am reading this right. I would suggest using a sharded counter for polls. http://code.google.com/appengine/articles/sharding_counters.html Jeff On Oct 11, 11:24 am, Ted Conn t...@creativelift.net wrote: Hi all, I am

[appengine-java] Re: App Engine and IP Addresses

2010-10-11 Thread Peter Ondruska
For performance reasons Google Frontend servers use keep-alives by default unless you request non-persistent connection with http request header connection: close. On Oct 11, 5:34 pm, Benjamin bsaut...@gmail.com wrote: Guys - thank you.  It's working great. I'm actually impressed at how I can

[appengine-java] Re: AppEngine + Google Data APIs + OAuth

2010-10-11 Thread Saqib Ali
I have added sample code as well to this site (courtesy of Google! :) https://sites.google.com/site/oauthforapi/  On Oct 10, 11:31 am, Saqib Ali docbook@gmail.com wrote: Hello All, I noticed that there is not a lot of material (in fact none) on the web for creating an app in App Engine

Re: [appengine-java] Is MemcacheService obtained from getMemcacheService(namespace) thread safe?

2010-10-11 Thread Ikai Lan (Google)
Yes. It's just a client. If you're really worried about this, you don't really save much by doing this, however, since the only real cost is object allocation. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit:

[appengine-java] Unable to upload application error - java.io.IOException: Error posting to URL: https://appengine.google.com/api/appversion/deploy?app_id=

2010-10-11 Thread Praveen
Till yesterday, I was able to update my application. Suddenly the update started failing with an unspecified reason. Can any one help me to resolve this please!!!. This is the log: Unable to update: java.io.IOException: Error posting to URL:

[appengine-java] what is sharding?

2010-10-11 Thread sagar misal
can anyone please make me understand what is this sharding and how to implement it in java? -- 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-j...@googlegroups.com. To unsubscribe

[appengine-java] Re: CPU Time Overload

2010-10-11 Thread Ted Conn
Ok, I actually read that article before but somehow didnt think it would apply to me... Now I am using a counter object which I am retrieving by id, and trying to increment a value in an array by 1 and then just referencing that counter object to retrieve the values (instead of creating a new Vote

Re: [appengine-java] what is sharding?

2010-10-11 Thread Gal Dolber
http://en.wikipedia.org/wiki/Shard_(database_architecture) On Mon, Oct 11, 2010 at 7:30 AM, sagar misal sagar1982mi...@gmail.comwrote: can anyone please make me understand what is this sharding and how to implement it in java? -- You received this message because you are subscribed to the

Re: [appengine-java] what is sharding?

2010-10-11 Thread andy stevko
This is a bit of a stretch for this forum. Perhaps this explanation will help you understand the database design term. http://stackoverflow.com/questions/992988/what-is-sharding-and-why-is-it-important On Mon, Oct 11, 2010 at 4:30 AM, sagar misal sagar1982mi...@gmail.comwrote: can anyone

[appengine-java] OneToOne relationship with java.lang.Long ids

2010-10-11 Thread Rick Curtis
Hello all! I am new to GAE and have a pretty simple domain model that I'm trying to persist. I am creating an Event(with a generated ID) and a User(with a pre-defined ID) which is hosting the event. This is a one to one relationship owned by the Event(@See below for code snippets). Upon commiting

[appengine-java] Re: Cant compile javax.crypto

2010-10-11 Thread Didier Durand
Hi Stuart, Yes, according to http://code.google.com/appengine/docs/java/jrewhitelist.html, javax.crypto is supported. Question: do you use GWT in your appl? In that case did you put your use of javax.crypto in client or shared ? didier On

Re: [appengine-java] OneToOne relationship with java.lang.Long ids

2010-10-11 Thread andy stevko
The ID for the owned child User instances has to be a Key or String type because the it contains both the reference to the parent(s) and the unique id of the object. A Long alone will not contain enough information to navigate the object model to it. I usually stick with String ids for all my