[appengine-java] NoSuchMethodError totalMemory()

2011-05-03 Thread emurmur
My app started throwing exceptions right after the latest maintenance; apparently Runtime.getRuntime().totalMemory() is now actually removed from the server runtime? Couldn't you just return zero? java.lang.NoSuchMethodError: com.google.apphosting.runtime.security.shared.intercept.java.lang.R

[appengine-java] Re: Coding with Adobe Software

2011-05-24 Thread emurmur
If you are brand-new to coding, I would not use GWT. I would start with HTML/CSS/Javascript. Many folks start their coding careers there (and many many stay there because they love it). You can get started quickly and the learning curve is not so steep. The learning curve on GWT or even Adobe F

[appengine-java] Re: Coding with Adobe Software

2011-05-26 Thread emurmur
Yes, the w3schools material is good. The mozilla foundation also had a great set of learning materials at http://developer.mozilla.org Click on the learning tab in the upper right. Ed On May 25, 4:00 am, Drew Spencer wrote: > Sorry dude, I kinda naively assumed you would already have some exper

[appengine-java] Turning on GWT in the project causes class not found excepction in my appengine code.

2010-07-07 Thread emurmur
I have an Java App Engine project using SDK 1.3.5 and the latest Restlet GAE 2.0rc4 to implement some restful services. Everything worked well (this has been in product for 6 months) until I added GWT to the project. As soon as I check GWT on in the control panel (without even adding a module) my

[appengine-java] Ancestor queries on explicitly created entity groups in JDO?

2010-07-23 Thread emurmur
In my application I'm using JDO. In some cases, I have un-owned relationships where I explicitly created my own entity group because I need to be able to do transactions with a group of records. For instance; @PersistenceCapable(identityType = IdentityType.APPLICATION, detachable = "true") publi

[appengine-java] Can I enqueue a task from within another Task handler?

2010-11-01 Thread emurmur
My code attempts to enqueue a new task within a transaction that happens inside a task handler. Basically, I'm trying to enforce strict serial handling by the tasks, so I have my task, as the last thing it does, enqueue another task to the same url (but with a different name, because I let appengin

Re: [appengine-java] how to keep fields unique

2011-03-07 Thread emurmur
It turns out the technique I described in my previous post has two issues. 1. Because only one transaction can be running at a time within a process, and the entity used as the mutex really cannot be in the same entity group as the primary entity, you can get into a situation where the mutex ent

[appengine-java] Datastore not responding intermittently

2011-03-17 Thread emurmur
We are testing a update to our app on a couple of qa instances (applications, not just JVMs) of AppEngine. Both are getting DeadlineExceededException pretty often. However, we have only a single user hitting the database and it has little data in it - basically, there is no contention for the

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

2011-04-03 Thread emurmur
I've been using Java AppEngine since it became available. I chose JDO for portability and so I could get started very quickly. I can say that JDO offers very little real portability for significant apps because of the very different semantics of the underlying datastore. If I were developing for