T5: How to implement a simple API servlet?

2008-08-25 Thread immutability
Guys, I've been trying to search google and nabble for this, but just couldn't find the answer, perhaps I'm just using the wrong keywords or something... as I'm sure it will sound trivial to some of you. Here's what I'm trying to achieve: I'd like to implement a simplistic API in our

Re: T5: How to implement a simple API servlet?

2008-08-25 Thread Howard Lewis Ship
I did some modest work like this many months back, where I had a page as a kind of RESTful service endpoint. I returned a StreamResponse from onActivate(). The page didn't even have a template. This is not quite what T5 is intended to do, but you get the benefits of live class reloading and IoC

Re: T5: How to implement a simple API servlet?

2008-08-25 Thread Thiago H. de Paula Figueiredo
Em Mon, 25 Aug 2008 16:10:11 -0300, immutability [EMAIL PROTECTED] escreveu: Here's what I'm trying to achieve: I'd like to implement a simplistic API in our webapplication using just a plain old servlet to handle all API method calls. The idea is to just call this single servlet, passing