RE: Re: First Application outside gae

2011-05-04 Thread Bruno Mendes
I'm not sure how (even though I think it was jettyson missing), but I got it working with org.json.jar, jettyson-1.3.jar, org.restlet.ext.json.jar, org.restlet.ext.xml.jar, org.restlet.ext.xstream.jar, com.thoughtworks.xstream.jar. So now I can use: ClientResource clientResource = new ClientRes

Re: First Application outside gae

2011-05-04 Thread Thierry Boileau
Hello Bruno, The converters are available via the usage of an Application (ie via the Appication#converterService). I suggest that you serve the sample TestServerApplication just as follow: public static void main(String[] args) throws Exception { Component c = new Component();

First Application outside gae

2011-04-27 Thread Bruno Mendes
I'm trying to create my first application (http://wiki.restlet.org/docs_2.0/13-restlet/21-restlet/318-restlet/303-restlet.html#dsy303-restlet_jse) outside without GAE. So I have the 3 classes: Contact (serializable), Address (serializable) and ContactResouce Created the ContactServerResource w