Hi Matthieu!

1+2) Yes, this is the case. The thread pool can be configured and its
parameters vary depending on the HTTP server connector used.

For the internal HTTP connector (inside org.restlet.jar), you can find
details here:
http://wiki.restlet.org/docs_2.1/13-restlet/27-restlet/48-restlet/86-restlet
/184-restlet.html

For Jetty its here:
http://wiki.restlet.org/docs_2.1/13-restlet/28-restlet/78-restlet.html

And so on :)

3) GAE comes with its own HTTP server connector (actually a Servlet engine)
which is leveraged by Restlet, so you application is indeed multithreaded,
but thread creation isn't under your control.

4)  GAE comes with support for XMPP, which might help:
http://code.google.com/intl/fr/appengine/docs/java/xmpp/

Otherwise you can try HTTP polling.

6) SIP was designed based on HTTP but isn't HTTP indeed. It uses its own
URIs but the Restlet routing mechanisms can still be used. Note that
Restlet/SIP support isn't available in GAE as it requires thread and socket
creation...

Best regards,
Jerome
--
http://www.restlet.org
http://twitter.com/#!/jlouvel


-----Message d'origine-----
De : lagarde mathieu [mailto:[email protected]] 
Envoyé : jeudi 3 novembre 2011 15:43
À : [email protected]
Objet : Session, google app and sip

Hello

It's been a while since I ever used restlet and I have some question. I hope
they'll be understandable, and if my english isn't good enough you can
correct me :)

1. I wan't to know (Actually I have a doubt) if restlet is multithreaded for
message reception.

2. In this case, I think it used a thread pool but how configure it ?

3. In Google app engine (gae), after a research I noticed that thread isn't
allowed and they said to used task queue. So the gae restlet version, used
task queu or it's just a monothread version ?

4. How can I contact a client because I noticed sessions isn't allowed and
it's not restfull ? because I wan't to make some social tool in my
application (video game) like a chat or friend management.

5. I see that there is a sip extention that allow me to do a video games
(this is my case). But in documentation I can't find any session function or
other. Have you got an idea ?

6. I know sip isn't http but can I used (can't remember name) url
segmentation with it?
exemple:
send something to using sip to:
http://myserver/party/[partyid]


thanks you for all your answer.

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=28724
41

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2875906

Reply via email to