Hi,

>   Some said GAE did not support DWR while I had read about
>> "Will it play in App Engine".It showed that "
>> Direct Web Remoting (DWR)
>> Version(s): 2.0.5, 3.0 RC1
>> Status: COMPATIBLE"

DWR uses threads for some things like reverse ajax.  For sure, that
will not work in appengine at least the way 3.0RC1 is written.  It
also writes files that don't work on appengine.  Long polling isn't
supported either.

I've seen people on the DWR list try to work around that, but I've
never seen a clean solution.  Maybe there is one though.  Here are
relevant posts from the DWR list
http://old.nabble.com/forum/Search.jtp?forum=13934&local=y&query=dwr+appengine

Anyway, your "undifined" error is most likely:

1) the path to the DWR script is wrong
2) the path is correct but when your javascript on the client loads,
it send a call to the server to configure DWR. But by the time the
call returns, your javascript on the client has already moved on and
thrown the undefined error because DWR hadn't returned in time.  I saw
this with reverse ajax.

Shawn

--

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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.


Reply via email to