[appengine-java] Sharing datastore persisted objects (table) across applications

2011-01-01 Thread dreamer
Hi, Not sure if possible to share datastore objects across application, single reporting application for several customer applications, assuming reporting app know complete keys. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To

[appengine-java] Re: persistent and scalable global atomic counter: not possible with GAE?

2011-01-01 Thread dreamer
Though less technical solution, seems working for a single application. generate guid and save, query back the same by guid and read id. = @PrimaryKey @Persistent(valueStrategy=IdGeneratorStrategy.IDENTITY) private Long id;

Re: [appengine-java] Re: persistent and scalable global atomic counter: not possible with GAE?

2011-01-01 Thread aswath satrasala
I was seeing your link. You have used Objectify. Objectify already provides Monotonic helper class. -Aswath www.accountingguru.in On Sat, Jan 1, 2011 at 12:57 AM, MG michael.glas...@gmail.com wrote: OK, so here is our solution: http://bit.ly/ec3Yyw The main idea: we are combining

[appengine-java] Re: Sharing datastore persisted objects (table) across applications

2011-01-01 Thread asianCoolz
if i'm not wrong. u can upload as different version of the app. and different version of app using same datastore. -- 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

[appengine-java] Question About Loading HTML into a Frame

2011-01-01 Thread Eric Atkinson
The App Engine Manual says that any file I put in the WAR (or subdirectory) is automatically known to the app, so why, when I use the following code... Frame frame = new Frame(/StrategicInternationalSystems/war/WEB-INF/ pages/Summary.html); dockLayoutPanel.add(frame); ...does it

Re: [appengine-java] Re: persistent and scalable global atomic counter: not possible with GAE?

2011-01-01 Thread MG
Monotonic in Objectify, as defined here: http://code.google.com/p/objectify-appengine/source/browse/trunk/src/com/googlecode/objectify/helper/Monotonic.java?r=620 is not 100% safe. For example: 1. Memcache is off, lastMax is 100 2. Memcache goes up for 1 sec, five requests get 101, 102, ...

[appengine-java] Re: Sharing datastore persisted objects (table) across applications

2011-01-01 Thread dreamer
But I guess intended use of version is for same app, may conflict with app life cycle. On Jan 1, 8:23 am, asianCoolz second.co...@gmail.com wrote: if i'm not wrong. u can upload as different version of the app. and different version of app using same datastore. -- You received this message

Re: [appengine-java] Re: How to completely erase the datastore of an app

2011-01-01 Thread Max
CRI, Unfortunately, no, I don't have any advice around index management. Max On Dec 31, 2010, at 9:46 AM, cghersi wrote: Hi Max, I've got a similar servlet too... I was guessing if there was a built-in method in GAE API. I would like also to delete and rebuild my indexes, but I

[appengine-java] java.lang.NoSuchMethodError: com.googlecode.objectify.Objectify.delete([Ljava/lang/Object;)V

2011-01-01 Thread Ueli Niggli
Hello everyone I added some propertys to a class which I use to store objects in a datastore. Now I am getting the above error message when I try to delete a object from the datastore. Of course I tried emptying the datastore because of the changed class but that didnßt help. I didn´t change

Re: [appengine-java] App calling another secured App

2011-01-01 Thread Andy
Thanks for your reply. I am not very familiar with shared keyed encryption method, do you have a link to the resource you can share? Besides, I think it is beyond encryption, it requires some kind of authentication also right? -- You received this message because you are subscribed to the

Re: [appengine-java] Re: persistent and scalable global atomic counter: not possible with GAE?

2011-01-01 Thread aswath satrasala
Hi MG, I am currently using the following in my application. http://blog.appenginefan.com/2009/04/efficient-global-counters-revisited.html . It does not use Objectify But, I was planning to use the Objecify Monotic, so as to keep counter implementation simple and not worry about another library

Re: [appengine-java] App calling another secured App

2011-01-01 Thread Andy
Hi, I think I will leverage XMPP as system exchange channel, I will try some experiments and hopefully that's working. Thanks, Andy -- 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] Dozer GAE - javax.management.ObjectName is a restricted class

2011-01-01 Thread Seven Days
Hi, When starting up my application server I get the following exception: java.lang.NoClassDefFoundError: javax.management.ObjectName is a restricted class. Please see the Google App Engine developer's guide for more details. at

[google-appengine] How to 'disable' a custom widget (and its click handlers)

2011-01-01 Thread Matthew Hill
Hi. I'm making a custom button widget. This button has a setEnabled method. When the button is disabled, clicking on the button must do nothing. How do I achieve this behavior? I've tried adding a Click Handler like so, to no avail: @Override public void onClick(ClickEvent event) { if

[google-appengine] Re: How to 'disable' a custom widget (and its click handlers)

2011-01-01 Thread Matthew Hill
Oops, I thought this was Google Web Toolkit. Sorry. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to

[google-appengine] Alfred Fuller - ... So we've done that ... : ZigZag merge join += Sort

2011-01-01 Thread Matija
Day after New Year's Eve my wife went to put child to sleep and I was wonder what to do. Lying in my living room with remote in my hand I have remembered problem with multivalued properties and I thought I could watch that next gen query video http://www.youtube.com/watch?v=ofhEyDBpngM relaxed

[google-appengine] Re: Update an Existing object in the datastore - Problem

2011-01-01 Thread lisandro
Hi Stevko! -unTorneo.getEquiposTorneo() , return a collectionList of objects Equipo. -unTorneo is retrieved by pm.getObjectById(MyObject.class, myId );. The problem is that sometimes he persists and sometimes he does not persist. I hope that it uses as help and could help me... Thanks. Happy

[google-appengine] Re: Happy New Year

2011-01-01 Thread Adam Sah
+1 !! -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options,

[google-appengine] Re: Channel API token renewal

2011-01-01 Thread songs
Keeping references around and explicitly closing didn't help. My first try at it caused a loop b/c calling the close causes the onclose method to run which causes the setup function to run, etc. Good times. Right now, removing the iframe is the way to go for me. On Dec 30 2010, 10:39 pm, songs

[google-appengine] Question regarding memcache

2011-01-01 Thread Sarfaraz
hello everyone, I have a multi tenant application where each tenant can create their own user accounts. which can range between 1 to 500 Users. The list of users is required as a dropdown in almost 80 % of the application (8 out of 10 pages) Can I store this list in the Memcache ? Or I should