Hey everyone,

I am building a Restlet application from scratch, and I don't really see any
reason to run it inside Tomcat. I'm also using using Hibernate, though, and its
SessionFactory can (by default) associate a specific session with a specific
thread, which makes certain things easier.

Does a Restlet stand-alone server guarantee a thread-per-request (like I'm
pretty sure Tomcat does), or could the same thread be handling multiple requests
at the same time?

Also, I'm using 1.1M5, and I'm trying to take advantage of the free
TunnelService. I can see it working in the logs: when I POST to
/sites/abc?method=delete, I see DELETE /sites/abc. However, using the
TunnelService, I get a 404 for this request and the Resource attached to
/sites/{code} is never even constructed. If I telnet to the port and manually
issue a DELETE /sites/abc, everything works fine. The Resource is constructed
and the removeRepresentation() method is called as expected, and I get a 204
response, just as I told it to send.

Does the Router need to be configured specially in any way to support the
TunnelService?

Thanks in advance!

Chris Lee

Reply via email to