I very, very seldom use Windows, but Jerome and Thierry do, so I'm sure he's
used the sample there -- I think he updated it most recently.

I think I see what you are asking -- you need to use both Restlet and RPC in
the same application.  I don't have an example of that right at hand; I use
Restlet so I don't have to use RPC at all ... but I do understand and I know
that it can be set up.

If you are running under Eclipse, it is possible for the web.xml to be
overwritten and Eclipse doesn't know about it without you doing an explicit
Refresh on the file -- but you probably tried this already.  Is your web.xml
exactly as it came from the example, or have you modified it in any way?

When we run the gwtshell under eclipse, I saw that it starts a tomcat
> instance.
> It also deploys the restlet resources there in order they to be found by
> the
> gwt engine?
> My question is does the gwt shell behave as a web container and deploy the
> resources (in the server folder) within it as we had created a web project
> and put the restlet based application
> classes within it?


Yes, that is how the hosted mode works.

If I start the restlet TestServer component as a standaolne application and
> then run the shell again it complains of an already used address and so the
> server side should work well even if I can not see the TestServer's
> sytem.out statements in the console.


If the standalone uses the same port as hosted mode, you can't run them both
at once.  I think hosted mode defaults to 8888.

I read several books on gwt (gwt in practice and Pro web 2.0 .... with gwt
> ... and so on) and I have seen different solutions but noone clearly refers
> to this particular integration with rest.


It is very new -- not likely to be in the books yet!

>
> Can You please help me?
>

Trying  :-)  Thierry here may also have some ideas.

- Rob

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

Reply via email to