setting up Server (Jetty) with SSL

2008-10-22 Thread Hugh Acland
Hello again, The learning curve continues and I am once more in need of your invaluable assitance. I need to add SSL support to : public static void main(String[] args) { try { // Create a new Component. Component component = new Component(); // Add a

Application can't find jetty class

2008-10-21 Thread Hugh Acland
Hi Jerome (or anyone else..), I am following your chapter in Restful Web Services by Oreilly and am working on getting the services server up and running. i keep getting the following : Exception in thread main java.lang.NoClassDefFoundError: org/mortbay/jetty/Connector can you please advise

Restlets contained within servlets

2008-10-13 Thread Hugh Acland
Hi, First of all may I thank the restlet team, a really cool api. it is really helping me to get to grips with Rest. My question is this: In the tutorials and in RestFul Webservices, Richardson Ruby, pub: Oreilly (a great book as well) there is an example where a Restlet is wrapped in a

Re: Best practices when Implementing acceptingRepresentations?

2008-10-13 Thread Hugh Acland
Richard Hoberman richard.hoberman at sadalbari.com writes: 2. POJO Deserialize representation into POJOs, directly from JSON or XML as appropriate. This avoids working with XML directly, but requires an extra data model (the legacy business layer uses POJOs annotated for Hibernate, but I

Authenticating and other thoughts

2008-10-13 Thread Hugh Acland
I acknowledge the real potential these little Restlet dudes could have. Roy Fielding is a visionary and I am certainly an enthusiastic follow of the principle of having loads of little RESTful resources, each with his own specific function in life and all mingling out there on the web, just

Re: Restlets contained within servlets

2008-10-13 Thread Hugh Acland
Simon Reinhardt simon.reinhardt at koeln.de writes: Restlet also has an adaptor for AJP so you could use mod_proxy_ajp http://httpd.apache.org/docs/2.2/mod/mod_proxy_ajp.html to go directly from Apache to your Restlet app. Would that be an option? Simon - thanks for all your advice, i will