Hi Kirk,

In your client-side GWT project, you should only use the JARs from the
Restlet edition for GWT.

On the server-side, if you are using the GWT Servlet container, you need to
configure the GwtShellServletWrapper from the Restlet edition for JEE (not
JSE). 

You can find more instruction in the wiki, but not that the doc hasn't been
fully updated for Restlet 2.0 yet:
http://wiki.restlet.org/docs_2.0/13-restlet/275-restlet/144-restlet.html

Let us know if you have more questions.

Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org
Noelios Technologies ~ Co-founder ~ http://www.noelios.com


-----Message d'origine-----
De : Kirk Everett [mailto:[email protected]] 
Envoyé : mardi 11 août 2009 20:36
À : [email protected]
Objet : Not able to get Restlet GWT Ext working with 2.0m4

I'm having problems using the GWT extension wwiht 2.0M4. I'm not sure which
jars I should include in my web-inf/lib. I added in org.restlet.jar from gwt
jar and org.restlet.ext.gwt.jar from the jse jar to my web-inf/lib. I
changed my code to the following but the callback never gets called (no
errors either). Any ideas? Thanks.


final Request request = new Request(Method.GET, serverURL + "/monitor");
                                final Client client = new
Client(Protocol.HTTP);
                                client.handle(request, new Uniform() {
                                        
                                        @Override
                                        public void handle(Request request,
Response response, Uniform callback) 
                                        {
                                               doSomething();
                                });

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

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

Reply via email to