Re: [appengine-java] Re: Fast MVC Framework for GAE?

2011-07-10 Thread Max
I use Play framework with GAE module, it works quite nice and performance is ok. Personally I don't have good experience with Spring roo -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit

[appengine-java] Re: Getting class not found errors on my project... any ideas why?

2011-07-10 Thread Isaac Gachugu
Hi all, I am also not very old in both Java and AppEngine. I got the same error when testing some basic app, and it seems the error was coming from an exception whose source Eclipse could not locate (hence suggesting for source attachment). When I uploaded the application to Appengine, it run

[appengine-java] How to ensure two entities are updated WITHOUT using transactions?

2011-07-10 Thread mscwd01
Hey I'm using JDO and need to update two entities both of which reside in their own entity group. As I cannot use a transaction, I'd like to determine how others achieve this. It is imperative that both entities are updated or none at all. Thanks -- You received this message because you are

Re: [appengine-java] Re: Fast MVC Framework for GAE?

2011-07-10 Thread Bruno Fuster
vraptor is fast, easy and RESTful ready better startup time with guice or pico instead of spring be sure to disable annotation scanning and setup your annotated components manually http://vraptor.caelum.com.br/en On Sun, Jul 10, 2011 at 3:38 AM, Max thebb...@gmail.com wrote: I use Play

[appengine-java] Re: How to ensure two entities are updated WITHOUT using transactions?

2011-07-10 Thread Didier Durand
Hi, Have a look at this to understand the issues: http://blog.notdot.net/2009/9/Distributed-Transactions-on-App-Engine regards didier On Jul 10, 11:09 pm, mscwd01 mscw...@gmail.com wrote: Hey I'm using JDO and need to update two entities both of which reside in their own entity group. As I

Re: [google-appengine] eventual consistency

2011-07-10 Thread Stephen Johnson
You can use STRONG consistency on HR and if you get by key then that should work with what you describe. There was just a discussion on this and you can see a related post by Ikai which may also help you from a reply of his to this other discussion:

[google-appengine] com.google.appengine.api.datastore.Key can not be found in source packages?!

2011-07-10 Thread Eric Atkinson
I get the follwing compile error -- com.google.appengine.api.datastore.Key can not be found in source packages. Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly -- with the below code snippet.

[google-appengine] Re: com.google.appengine.api.datastore.Key can not be found in source packages?!

2011-07-10 Thread Eric Atkinson
This answer to this -- in the Eclispe IDE -- is to uncheck build automatically and then hit build all, and then it can see it. Strange, but true. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit

[google-appengine] Importing GAE libs when testing.

2011-07-10 Thread Joops
Hi all, Sorry for what I consider a very simple question. I want to check something I have done. I wanted to do some test driven development for a specific part of my project. In order to run the tests I need to import the google libs (I am running on MacOS) I have put this at the top of my

[google-appengine] Re: eventual consistency

2011-07-10 Thread Kyle Mulka
The example you describe will be strongly consistant in the high replication datastore. Take a look at the consistency section of the table on this page comparing master/slave with high replication: http://code.google.com/appengine/docs/python/datastore/hr/ You'll see there that gets, puts, and

Re: [google-appengine] Re: eventual consistency

2011-07-10 Thread Stephen Johnson
Hi Kyle, You should read the link I provided with Ikai's discussion. Gets by key with EVENTUAL consistency on HR can go to a replica datastore that may not have the latest info. Also, see the discussion we just had where this was discussed. Subject was ReadPolicy.Consistency.EVENTUAL under HR The

[google-appengine] Aw: Importing GAE libs when testing.

2011-07-10 Thread Tobias
Hi Joops, You might want to have a look a the docs on Local Unit Testing for Python [1] and especially on setting up a testing framework [2]. Cheers, Tobias [1] http://code.google.com/appengine/docs/python/tools/localunittesting.html [2]

Re: [google-appengine] Re: Weekend project: keep your app warm

2011-07-10 Thread Barry Hunter
On Sun, Jul 10, 2011 at 5:17 PM, bejayoharen wrote: A great project would be one that worked from a third party site (non-cloud hosting would suffice), checked your site periodically, and contacted you (eg sent you a text message using twillio) if there was any trouble. There are only

[google-appengine] Re: eventual consistency

2011-07-10 Thread Kyle Mulka
Ok, so, gets can use eventual consistency, but that's not the default. Is that correct? If so, I agree with you that that sentence should be changed. Remember, if you do a get(), put(), or a transaction, you will always see the most recently written data.

[google-appengine] Eventual consistency and JPA (was Re: eventual consistency)

2011-07-10 Thread bejayoharen
Thank you, this is helpful, especially the links. I am using JPA and it's not clear to me what constitutes a get -- does calling EntityManager.find() always constitute a get or only when the @Id of my class is the same as the underlying datastore key? Furthermore, the docs cited by Kyle indicate

Re: [google-appengine] Re: Weekend project: keep your app warm

2011-07-10 Thread Jeff Schnitzer
On Sun, Jul 10, 2011 at 4:26 PM, Barry Hunter barrybhun...@gmail.com wrote: On Sun, Jul 10, 2011 at 5:17 PM, bejayoharen  wrote: A great project would be one that worked from a third party site (non-cloud hosting would suffice), checked your site periodically, and contacted you (eg sent

Re: [google-appengine] Re: eventual consistency

2011-07-10 Thread Stephen Johnson
That's correct. The default is strong consistency. On Sun, Jul 10, 2011 at 5:18 PM, Kyle Mulka kyle.mu...@gmail.com wrote: Ok, so, gets can use eventual consistency, but that's not the default. Is that correct? If so, I agree with you that that sentence should be changed. Remember, if you

Re: [google-appengine] Eventual consistency and JPA (was Re: eventual consistency)

2011-07-10 Thread Stephen Johnson
I don't use JPA, but the way I understand it is that a get is by key which can also be a batch get by key. Whereas a query, queries for the entity keys using an index and then gets the entities by key. So, the way I understand it is below, but this is just my understanding so I could be wrong:

[google-appengine] Re: Eventual consistency and JPA (was Re: eventual consistency)

2011-07-10 Thread Greg
There is a difference between a query (getting entities by indexed properties) and get()/get_by_id() which get a specified object. So if client A sends the key/id to client B, you'll be fine - client B will get the latest version of the entity. Also one other small point - as long as you are

[google-appengine] Re: Eventual consistency and JPA (was Re: eventual consistency)

2011-07-10 Thread Kyle Mulka
As I understand it, you can't run a non-ancestor query in a transaction. Transactions are only supported within a single entity group. -- Kyle Mulka Co-Founder, DealSavant http://www.dealsavant.com On Jul 10, 8:36 pm, bejayoharen beayoha...@gmail.com wrote: Thank you, this is helpful,

Re: [google-appengine] Re: Multiple Instances of the Same App

2011-07-10 Thread Nick Johnson (Google)
Hi Mark, That's not the case - you can map multiple domains to the same app, either by setting them up as separate Google Apps domains, or by adding them as aliases for an existing domain. Your app can then use the Host header to distingush between domains and serve different content to them.

Re: [google-appengine] ReadPolicy.Consistency.EVENTUAL under HR?

2011-07-10 Thread Robert Kluin
Hey Stephen, Yeah that last sentence looks like an incorrect, or at least seriously misleading, statement to me; there is a chance that an eventually consistent get will not see the most recent data (it also will not initiate a catch-up cycle if it finds stale data). Hopefully Ikai will get a

Re: [google-appengine] Re: Do I really need to switch to HR?

2011-07-10 Thread Robert Kluin
On Fri, Jul 8, 2011 at 15:30, Tom Phillips tphill0...@gmail.com wrote: That aliasing via tools sounds pretty good to me. I was worried about the timing of aliasing my old app to my new one if it had to be done via raising a billing issue. Having the ability to time it ourselves is much better.

[google-appengine] Re: Weekend project: keep your app warm

2011-07-10 Thread Max
Hi Bejayoharen, Great thanks for the feedback. As I said this is just several hours work so sorry for the UI. I agree it's not quite comprehensive. You can login with your Google Account by clicking top-right link Log in with your Google Account to manage your warmers You will be able to

Re: [google-appengine] Re: Weekend project: keep your app warm

2011-07-10 Thread Max
hi Jeff, AFAIK, lots of GAE developers are using cron job to *warm up*, including me. You can search in this group, many ppl are doing this. Also, if we want something more than a periodic ping, like those use cases you mentioned, then we probably don't want all these logic stay with in our