Thanks for that. What I want to achieve is a redirector for use with GWT. So I 
want to have a server side restlet bundled with my GWT app that will redirect 
to access a restful service on another server.

> Hi Andrew,
> 
>  
> 
> The MODE_DISPATCHER type makes the Redirector rely on the client dispatcher
> and therefore on the client connectors registered. Therefore, it shouldn’t
> make any difference whether or not you are running within Tomcat or as
> standalone.
> 
>  
> 
> Note that in Restlet 2.0, I’ve just added support for MODE_SERVER_DISPATCHER
> and MODE_CLIENT_DISPATCHER types and deprecated MODE_DISPATCHER. This allows
> you to rely on the server dispatcher as well for internal re-routing. You
> could also rely on the RIAP pseudo-protocol.
> 
>  
> 
> Maybe you should precise what you want to achieve, so we can give you the
> best mode to use.
> 
>  
> 
> Best regards,
> Jerome Louvel
> --
> Restlet ~ Founder and Lead developer ~  <http://www.restlet.org/>
> http://www.restlet.org
> Noelios Technologies ~ Co-founder ~  <http://www.noelios.com/>
> http://www.noelios.com
> 
>  
> 
>  
> 
>  
> 
>  
> 
> De : Andrew Zahra [mailto:[email protected]] 
> Envoyé : vendredi 21 août 2009 05:57
> À : [email protected]
> Objet : Redirector with Tomcat
> 
>  
> 
> I am trying to use the redirector in MODE_DISPATCHER with Tomcat. All the
> example seem to assume you will be running as a standalone on its own port.
> E.g create a Component and add Protocol.HTTP on port 8182.
> 
>  
> 
> What I want to do is create a war file to deploy to tomcat and have the
> redirector redirect any requests to another server. 
> 
>  
> 
> This is my first attempt at using the Restlet framework and I don’t quite
> get the paradigm. How do I add a redirector in such a way that it just uses
> the port the container is using but redirects requests for the given web app
> elsewhere?
> 
>  
> 
> Thanks,
> 
> Andrew

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

Reply via email to