Yes, worker would be a servlet which can handle a request with POST parameters. If you want an asynchronous call from client's point of view then RPC is enough (from server's point of view it is still synchronous). If you want to do "delayed" jobs which don't talk to your client, you can use a task queue.
Great, thanks. Good point about the tasks. Instead of trying to create a thread (which is impossible in App Engine), this is a great way to asynchronously run tasks.
– Nick Nov 23 '09 at 15:54.
Deferred. Deferable Any plans for deferred. Defer in Java?
Import static com.google.appengine.api.labs.taskqueue.TaskOptions.Builder. TaskName; import java.io. IOException; import javax.servlet.
ServletException; import com.newatlanta.appengine.taskqueue. Deferred; import com.newatlanta.appengine.taskqueue.Deferred. Deferrable; @SuppressWarnings("serial") public class SampleTask implements Deferrable { private String arg1; private String arg2; public SampleTask() { } public SampleTask(String arg1, String arg2) { // save information to use later this.
Arg1 = arg1; this. Arg2 = arg2; } @Override public void doTask() throws ServletException, IOException { // TODO do work here // this is how you 'schedule' a task // doing this here is recursive; // you most likely want to call this from // a server rpc endpoint SampleTask task = new SampleTask("arg1", "arg2"); Deferred. Defer(task, "queue-name", taskName("task-name")); } }.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.