When making a GET
request for a particular resource (i.e. ServerResource
) if I put the thread to sleep (to simulate long-polling) what would happen? Does the framework support this? From a Java EE standpoint what are the side-effects? Does it scale well with Tomcat (or any other server?)
Has any-one tried implementing long-polling using Restlet by just making the request thread sleep?
It seems restlet has no support for comet-style web applications and hence the question of such a hack, so to speak.