[appengine-java] Post/Get to a servlet from another servlet

2010-01-25 Thread edarroyo
I'm sorry if this is a stupid question, but is it possible to do a post request to another servlet from within a servlet? I am trying to do a post/get request to the same servlet because of the 30 sec/request limit. I have to run an intensive job and would like to know if doing another post/get wo

[appengine-java] Using class objects as keys in tasks for TaskQueue

2009-11-13 Thread edarroyo
Hello, We are trying to set an object as a parameter for a task. It seems the only values you can pass are strings, as we always get Eclipse complaining that the funciont param() does not handle non- string objects. What we are doing is the following: QueueFactory.getDefaultQueue(

[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 wrote: > Thanks , Jason. It's very helpful for me to understand how to use this > new API. --~--~-~--~~---

[appengine-java] Re: Using the Synchronous Interface

2009-11-02 Thread edarroyo
Ok I found a lot of info on the GWT forums. Thanks Ieszek so now I know... The synchronous interface is not available for GWT and is so for a really good reason... it would block the whole browser! On Nov 2, 8:42 am, edarroyo wrote: > Yes, so that's just not suggested? > > On

[appengine-java] Re: Using the Synchronous Interface

2009-11-02 Thread edarroyo
Yes, so that's just not suggested? On Nov 2, 1:20 am, leszek wrote: > http://groups.google.com/group/Google-Web-Toolkit?pli=1 > > But what do you want to achieve ? > To call : > SearchResult res = dataService.searchSomething(...) > > instead of > > dataServiceAsync.searchSomething(... new CallBa

[appengine-java] Re: Using the Synchronous Interface

2009-11-01 Thread edarroyo
Any ideas? please. On Oct 29, 11:00 am, edarroyo wrote: > We are trying to use thesynchronousinterface of a service class. > We tried doing something along the lines of the asynchronous use: > >         private final TagAndSearchService dataService = GWT.create > (TagAndSear

[appengine-java] Re: Using the Synchronous Interface

2009-11-01 Thread edarroyo
Anybody have an idea? On Oct 29, 3:59 pm, edarroyo wrote: > What you suggested is to use the asynchronous interface, isn't it? > I want to use thesynchronousinterface, though. > > Thanks = ] > > On Oct 29, 1:29 pm, John Patterson wrote: > > >         privat

[appengine-java] Re: Using the Synchronous Interface

2009-10-29 Thread edarroyo
; Notice that the type on the left is the async interface and on the   > right is the service interface > > On 30 Oct 2009, at 02:00, edarroyo wrote: > > > > > We are trying to use thesynchronousinterface of a service class. > > We tried doing something along the lines

[appengine-java] Using the Synchronous Interface

2009-10-29 Thread edarroyo
We are trying to use the synchronous interface of a service class. We tried doing something along the lines of the asynchronous use: private final TagAndSearchService dataService = GWT.create (TagAndSearchService.class); But for some reason we are getting a ClassCastException on that lin

[appengine-java] Re: Can anyone provide me an example on add/remove tag to an Entity?

2009-10-22 Thread edarroyo
Me too! On Oct 20, 8:09 pm, Max Zhu wrote: > Hi Rusty, > > Thanks for your reply. I know that is a tag, but what I am looking for is > how to implement using GAE. > > Hi Jason, > > I can not make my question more specific because I totally have no idea on > it. :) > > Can I say we just simply pu