The thing I'm working on simply involves an alternative to handle(request,response) that allows the response to be delivered to a callback object, possibly and probably in another thread. This is principally valuable for AJAX style code and critical path for the GWT support I'm working on. To a certain degree, we actually want a model here that looks and feels very familiar to GWT users who have worked with GWT-RPC and would like to try a RESTful alternative.
The idea of being able to "pin" a thread is probably more applicable to the issue of a long-lived request/response cycle (e.g. Comet style), and probably more valuable across the board, but less critical path to what I'm doing. Both of these asynchronous needs are under active research and development, and the implementation is probably interrelated (synchronous processing can probably be expressed in terms of a single callback which can probably be expressed in terms of chunked asynchronous processing) ... the RFE gives some code examples for how this might be true. Right now I am looking at the penalties and costs of thread-safe Request and Response objects across the board, a need which must be sorted out before any of the other async stuff can be safely investigated. On 2/6/08, António Mota <[EMAIL PROTECTED]> wrote: > > Hmm, let me try to understand, is there a effort going on to include in > Restlet some kind of "notification" to asynchronous clients based on > xmlhhttprequest callbacks and/or Comet-style "push" techniques? > > > > > On 06/02/2008, jbarciela jbarciela <[EMAIL PROTECTED]> wrote: > > > > > Have a look at this RFE and its references: > > > http://restlet.tigris.org/issues/show_bug.cgi?id=143 ... > > > > Ah, that's a wonderful wonderful compilation of articles, so far I've > > only read about Jetty's continuations, thanks for the link > > > > > you guessed right > > > > I have my moments > > > > Cheers > > Jaime > > > > > > -- > -- > Melhores cumprimentos / Beir beannacht / Best regards > > António Manuel dos Santos Mota > > mobile: +353(0)877718363 > mail: [EMAIL PROTECTED] > skype: amsmota > msn: [EMAIL PROTECTED] > linkedin: www.linkedin.com/in/amsmota >

