[appengine-java] AWS competition

2011-01-26 Thread Andrei
Has anybody looked at AWS Elastic Beanstalk? http://aws.amazon.com/elasticbeanstalk/ What do you think -- 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

[appengine-java] Re: Creation of owned one-to-many problem

2011-01-26 Thread prabu
PersistenceManager pm = PMF.get().getPersistenceManager(); Transaction tx = pm.currentTransaction(); Realitka r = new Realitka (); tx.begin(); Nemovitost n = new Nemovitost (req.getParameter("value") List nlist = new ArrayList(); nlist.add(n); r.setSeznamNemovitosti(nlist); try { pm.make

Re: [appengine-java] Re: Cannot access text fields, when uploading Blobs

2011-01-26 Thread Ikai Lan (Google)
Try: request.getParameter() instead. getAttribute retrieves an attribute from servlet/request/session/page scope. You can read about the differences here: http://www.jguru.com/faq/view.jsp?EID=1307699 Check out these results for more examples on using getParameter: http://www.google.com/search?

Re: [appengine-java] Re: Can't fetch a dataset using primary key

2011-01-26 Thread Stephen Johnson
Yes, to use JDO your going to have to annotate the class and have the DataNucleus enhancer run over the classes. If you use the low-level API then you can just query for the Entity object itself. On Wed, Jan 26, 2011 at 3:09 PM, Marc Herber wrote: > Thanks for your hint. Meanwhile I debugged the

Re: [appengine-java] Re: Can't fetch a dataset using primary key

2011-01-26 Thread Marc Herber
Thanks for your hint. Meanwhile I debugged the code and found the reason of the NullPointerException. The method getObjectById is implemented by the class DatastoreJDOPersistenceManager. Within this method there is *EntityUtils.idToInternalKey(getObjectManager(), cls, key, false);*. This metho

Re: [appengine-java] Re: Can't fetch a dataset using primary key

2011-01-26 Thread Marc Herber
I just talked about GQL because within the Datastore Viewer of my dashboard I can enter a GQL-query. That's why I was assuming that "everybody" has to use GQL...my fault. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to

Re: [appengine-java] Re: Persistant Objects to GWT front-end (and vice versa)

2011-01-26 Thread Ravi Sharma
try Spring Roo On Wed, Jan 26, 2011 at 8:08 PM, GeneralSlaine wrote: > Thanks all for the feedback. I guess I will start with having a good > look at Objectify. > > Other question:is there any open source project that you guys know of > which fully generates a gui dynamically in GWT based on

[appengine-java] Web.xml 100 servlet mapping maximum

2011-01-26 Thread culov
I have a very large web app and I have no other recourse besides either moving away from app engine or having the limit increased. The number of URL mappings seems like a very arbitrary property to cap at 100, and this is simply not enough for many web apps with a wide scope. How can I get the li

Re: [appengine-java] Re: deploy app but no effect

2011-01-26 Thread JT
The work around I found was, click on "set as default", even if you have only one version. Hth On Jan 26, 2011 1:09 PM, "Sumi" wrote: > I too am facing the problem. > the fault version is not showing up.how ever it shows up if i access it with > the version.latest.x url > > > On Wed, Jan 26,

[appengine-java] Re: Persistant Objects to GWT front-end (and vice versa)

2011-01-26 Thread GeneralSlaine
Thanks all for the feedback. I guess I will start with having a good look at Objectify. Other question:is there any open source project that you guys know of which fully generates a gui dynamically in GWT based on introspection of the objects? Based on this info a basic GUI with List, Detail, Crea

[appengine-java] Re: ClassLoader can't find resources at runtime

2011-01-26 Thread Micah
I suppose I was hoping for a solution that doesn't involve reloading the project... a way to load new resources as they appear. Micah On Jan 25, 12:05 pm, Don Schwarz wrote: > You can try touching (i.e. re-saving) your appengine-web.xml file.  That > should cause the DevAppServer to reload your

Re: [appengine-java] Re: Can't fetch a dataset using primary key

2011-01-26 Thread Stephen Johnson
Did quick check, Yes, KEY(' ') can be used if what's inside is an encoded key, but I assumed that by a plain 1 it was an unencoded ID value. On Wed, Jan 26, 2011 at 12:00 PM, Stephen Johnson wrote: > Minor minor point :) I believe Ikai if you look at your posted code you > forgot the entity kind

Re: [appengine-java] Re: Can't fetch a dataset using primary key

2011-01-26 Thread Stephen Johnson
Minor minor point :) I believe Ikai if you look at your posted code you forgot the entity kind in your call to KEY, you used KEY('1') without any entity kind stated. I also was assuming he was using datastore viewer which I think he was. Or is this KEY('1') allowed without entity kind allowed?? On

Re: [appengine-java] Re: Can't fetch a dataset using primary key

2011-01-26 Thread Ikai Lan (Google)
Minor point: I posted Python code because you used the term "GQL". I assumed you were working with the datastore viewer - the code sample I posted should be valid there. Java code in JDO uses JDOQL. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspo

Re: [appengine-java] Advantage of Some type of entity

2011-01-26 Thread Ikai Lan (Google)
Anything is possible, but I think it is unlikely. You should use StringProperty when possible and build your own validations. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.co

Re: [appengine-java] Re: deploy app but no effect

2011-01-26 Thread Sumi
I too am facing the problem. the fault version is not showing up.how ever it shows up if i access it with the version.latest.x url On Wed, Jan 26, 2011 at 10:03 AM, RDS wrote: > I am seeing the same problem - and it is not related to calling a specific > version or setting the default versi

Re: [appengine-java] Re: Can't fetch a dataset using primary key

2011-01-26 Thread Stephen Johnson
Also, check that the PMF.getPersistenceManager() returns a non-null value. Perhaps with the changes you've been trying you don't have the "transactions-optional" name in the config file matching the code. On Wed, Jan 26, 2011 at 11:00 AM, Stephen Johnson wrote: > Well, you shouldn't be getting a

[appengine-java] Re: deploy app but no effect

2011-01-26 Thread RDS
I am seeing the same problem - and it is not related to calling a specific version or setting the default version. On deployment, the new code is not activated even though App Engine says the deployment was successful. -- You received this message because you are subscribed to the Google Groups

Re: [appengine-java] Re: Can't fetch a dataset using primary key

2011-01-26 Thread Stephen Johnson
Well, you shouldn't be getting a NullPointerException if the entity is not found so something else is wrong. The correct exception would be JDOObjectNotFoundException. Are you sure the PageParameters parameters is not null or something else isn't null?? You don't use the 'a' variable in anyway in t

[appengine-java] Re: deploy app but no effect

2011-01-26 Thread Charms Styler
each time you increase the version of the app, you have to manually set the new version to serve as default -- 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.co

[appengine-java] Deployment & Task Queue Issues

2011-01-26 Thread RDS
I am testing an app, and have been having various problems, which I will outline briefly: 1. Created new app, added a few named task queues, everything was working fine. 2. Renamed & reconfigured the named queues. Deleted the old queues. 3. Everything looked fine in the code, but the tasks were

[appengine-java] Deployment & Task Queue Issues

2011-01-26 Thread RDS
I am testing an app, and have been having various problems, which I will outline briefly: 1. Created new app, added a few names task queues, everything was working fine. 2. Renamed & reconfigured named queues. Deleted old queues. 3. Everything looked find in the code, but the tasks were not bein

[appengine-java] Re: Xstream patched

2011-01-26 Thread Charms Styler
yes we do... try this out http://guice-maven.googlecode.com/svn/trunk/com/thoughtworks/xstream/xstream/xstream-1.3.2-SNAPSHOT-GAE/ -- 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-appengi

[appengine-java] Re: Xstream patched

2011-01-26 Thread Bat
Nobody has such jar file? -- 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-java+unsubscr...

[appengine-java] Re: Cannot access text fields, when uploading Blobs

2011-01-26 Thread Dimedrol
Anyone? -- 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-java+unsubscr...@googlegroups.com.

[appengine-java] Re: Blobstore upload loading bar

2011-01-26 Thread WillSpecht
I made a few changes to this tutorial(http://www.cssjockey.com/web- development/an-easy-way-to-create-loading-bar). It doesn't really show how much progress the load has made but at least users will know something is hapening. When the page loads I call $("loading").hide(); then right after I call

Re: [appengine-java] Advantage of Some type of entity

2011-01-26 Thread ale
Thank you, is possible that in future the validation will be more "strong"? I'm starting a project and I have to decide what type of data use... ale -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send emai

[appengine-java] Creation of owned one-to-many problem

2011-01-26 Thread Louis H.
Hi, I am trying to create owned one-to-many entities. Class "Nemovitost" has exactly one "Realitka" class and "Realitka" can have many "Nemovitost". Unfortunately I am failing to create "Nemovitost". When I do that, it seems ok, no exception raised during persist but no entity "Nemovitost" can b