[appengine-java] Re: where I should put the Task Queue code?

2009-12-16 Thread pg
Although I am working with Python, I also found the official documentation rather messy. Perhaps this can help: http://code-in-order.blogspot.com/2009/12/google-app-engine-task-queue-with.html rgds pg -- You received this message because you are subscribed to the Google Groups Google App

Re: [appengine-java] Re: where I should put the Task Queue code?

2009-12-15 Thread Rusty Wright
At this point I'd suggest that you don't do it with GWT; step into the wayback machine and write a plain java servlet and do the necessary configuration/mapping with your web.xml. Can you say old school? There should be plenty of tutorials and samples on the web. I'm thinking that you'd

[appengine-java] Re: where I should put the Task Queue code?

2009-12-15 Thread David Chandler
Vince Bonfanti's Deferred.defer() makes using task queues very easy, as there's only one servlet needed and he's already written it! There's an example of using it and a reference to the forum thread in which Vince posted the code here:

[appengine-java] Re: where I should put the Task Queue code?

2009-12-13 Thread John V Denley
Thanks for this Rusty, Im not sure I understand all of it right away (perhaps with more investigation I will work it out) However Its worth mentioning that as far as I know Im not using Spring or Stripes or Struts (not even sure what any of these are!) I am using native GWT (v2.0)/GAE (v1.2.8) and

[appengine-java] Re: where I should put the Task Queue code?

2009-12-13 Thread John V Denley
Well put Rusty, thats exactly the frustration im having!!! LOL On Dec 13, 9:42 pm, Rusty Wright rwright.li...@gmail.com wrote: What method gets called in your code when your app receives a GET request?   Or a POST request?  I think that's what you're looking for.  Unfortunately the

[appengine-java] Re: where I should put the Task Queue code?

2009-12-13 Thread jd
Hi, task queues are just a way to call a url some time in the future. As Jason mentioned above, for a tasks handler you should probably just create a servlet (extend HttpServlet) because you do not need to generate a nice webpage as the result of the call - no one will see it. In the

[appengine-java] Re: where I should put the Task Queue code?

2009-12-12 Thread John V Denley
Yes, I would like a real example of how to do this too, I get that we need to use a URL to accept the request to do something, but where does the URL start executing code. obviously its not going to be at the onModuleLoad entry point. Thanks, John On Nov 11, 1:23 am, edarroyo

Re: [appengine-java] Re: where I should put the Task Queue code?

2009-12-12 Thread Rusty Wright
The docs say The default queue will call the request handler at the URL /worker ... So it sounds to me that if you were, for example, using Spring MVC, and had a Spring controller with @Controller @RequestMapping(/worker) public final class WorkerController { @RequestMapping(method =

[appengine-java] Re: where I should put the Task Queue code?

2009-11-10 Thread edarroyo
Is there any gae samples using task queues that we can look at? I am having a really hard time understanding how to use Task Queues. Thanks! On Oct 27, 6:18 pm, Vincent zhou.vi...@gmail.com wrote: Thanks , Jason. It's very helpful for me to understand how to use this new API.

[appengine-java] Re: where I should put the Task Queue code?

2009-10-27 Thread Jason (Google)
You can use the Task Queue API from any servlet/handler. So define a new servlet, to be triggered by either an incoming request or a scheduled task, that then retrieves the default queue and adds new tasks to the queue. For example, if you have a servlet that gets triggered when a user submits a

[appengine-java] Re: where I should put the Task Queue code?

2009-10-27 Thread Vincent
Thanks , Jason. It's very helpful for me to understand how to use this new API. --~--~-~--~~~---~--~~ 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