Re: Restlet Framework 2.0.1released

2010-09-13 Thread Jonathan Hall
Same issue here. On 09/09/10 15:24, Tal Liron wrote: > Just a quick note on changed behavior I noticed in 2.0.1 -- > > If you throw a ResourceException that has a cause, the cause is now sent > to the status service for processing into a new status. If you don't > have explicit support for this, y

Re: Restlet Framework 2.0.1released

2010-09-13 Thread Fabian Mandelbaum
Maybe this was triggered by the fix for my suggestion to actually include the 'description" (error message) in the HTML default representation when ResourceException was thrown? On Thu, Sep 9, 2010 at 11:24 AM, Tal Liron wrote: > Just a quick note on changed behavior I noticed in 2.0.1 -- > > If

Embedded Jetty

2010-09-13 Thread Roy Olsen
I'm attempting to use Jetty 7.1.5 with Restlet 1.1.10 however there's no connector jar included for this version of Jetty - only Jetty 6.1.  So, I'm wondering is it possible to use Jetty 7? Also, I'm not sure where to put jetty.xml so I can configure the server settings. Thanks, Roy --

Getting Error 1002 for everything after a while

2010-09-13 Thread webpost
Hello, I've created a few restlet apps now, and for some reason the last one gets garbled on a simple put of a simple class: ---Client.java @Entity public class Client implements Serializable { private static final long serialVersionUID = 1L; @Id Long id; String name = "";

Re: Prudence 1.0 RC1

2010-09-13 Thread Vincent Nonnenmacher
On 12/09/10 02:39, Tal Liron wrote: > I'm very happy to announce the first public release candidate of > Prudence, an open source web development platform based on Restlet 2.0. > > http://threecrickets.com/prudence/ > > Prudence comes with a comprehensive 100-page manual, a complete example > appli

Re: Using a REST layer for UI and services

2010-09-13 Thread Vincent Nonnenmacher
On 11/09/10 17:47, Jerome Louvel wrote: > Hi all, > > Marc, Tal, would you mind updating the "Powered by" page in the community > wiki so people can find out themselves about your projects based on Restlet? > http://wiki.restlet.org/community/165-restlet.html > > Back to the original question, th

OPTIONS instead of GET with GWT

2010-09-13 Thread Nathalie LESSART
I have a GWT project. for the server side i use restlet-jee-2.0m7 the client side does server requests with ClientResource (restlet-gwt-2.0m7) I deploy this project on a server with tomcat 6. When i run my GWT Web interface with the local address everythink works fine. But, when i run it from th

Restlet & Oauth

2010-09-13 Thread webpost
Hi, I have put together a basic rest api with restlet and want to secure it with OAuth authentication. Is there any example code out there ? Do we use the restlet oauth ? Or some other tool Many thanks -- http://restlet.tigris.org/ds/viewMes

Embedded Jetty

2010-09-13 Thread webpost
I'm attempting to use Jetty 7.1.5 with Restlet 1.1.10 however there's no connector jar included for this version of Jetty - only Jetty 6.1. So, I'm wondering is it possible to use Jetty 7? Also, I'm not sure where put jetty.xml so I can configure the server settings. Thanks, Roy

VirtualHost not working in 2.0

2010-09-13 Thread Gazi Alankus
Hello, I'm a noob and I was able to use VirtualHost objects fine in version 1.1. Now I started using 2.0 and VirtualHost won't work. When I don't add a VirtualHost, here's an idea of how a request is handled: Daemon Thread [Restlet-1638726193] (Suspended (breakpoint at line 77 in HostRoute)

Is setStatus ignored?

2010-09-13 Thread Hilco Wijbenga
I have something similar to the below code: @PUT @Path("/bean/{id}") @Consumes(APPLICATION_JSON) @Override public void set(@PathParam("id") final int beanId, final MyBean bean) { ... if (...) { ... try { ... } catch (final Exception e) { tx.rollback();

Re: Use of ClientResource inside a server resource

2010-09-13 Thread Alexander Kampmann
hi, does that configuration in web.xml even work, if FrameworkServlet is used instead of RestletServlet? I am using tomcat+spring on the Server- side and got problems which, in my eyes, are related to a missing protocol on server side. Btw: 1) Why isn't HTTP/1.1 added by default when using a S

Re: Using a REST layer for UI and services

2010-09-13 Thread Vincent Nonnenmacher
On 10/09/10 09:15, Marc Portier wrote: > you might want to give http://kauriproject.org a try > > it has restlet and all its goodies underneath, but adds >- a java and rest-service-wiring (based on spring and then some) >- some templating, routing, and client-side ajax/js support (including

HTTP POST of JSON data results in problems with "Content-Length"

2010-09-13 Thread Michael Zock
Simplified code example: http://pastebin.com/9ZQxSXi9 Hi I've started to experiment with the Windows version of the 2.0.1 package and the web-service for gpodder.net. The first steps with retrieving JSON data per HTTP GET worked flawlessly. But posting JSON data against the similar web-service

Re: restlet and comet

2010-09-13 Thread Vincent Nonnenmacher
On 09/09/10 15:18, Maxime Bégnis wrote: > Thanks Vincent for your tips. I'm looking forward to this > implementation of NIO. > > Regards, > > Maxime Bégnis > On 09/09/10 15:18, Maxime Bégnis wrote: > Thanks Vincent for your tips. I'm looking forward to this > implementation of NIO. there is also

Re: restlet and comet

2010-09-13 Thread Vincent Nonnenmacher
On 09/09/10 15:18, Maxime Bégnis wrote: > Thanks Vincent for your tips. I'm looking forward to this > implementation of NIO. > > Regards, > > Maxime Bégnis > I looked at your Calenco projet and see that you are using Dojo so it's true that you can favor comet instead of websocket as dojo is far mo

Securing RESTlet with DigestAuthenticator and hashed passwords

2010-09-13 Thread Christian Scharr
Hi there, I'm searching since several days for a solution of the following scenario: - user credentials in the database - SHA256 hashed passwords in the database - using the DigestAuthenticator of the RESTlet Crypto extension I've tried to implement this with a wrapped verifier (LocalVerifier), bu

OPTIONS instead of GET with GWT

2010-09-13 Thread Nathalie LESSART
I have a GWT project. for the server side i use restlet-jee-2.0m7 the client side does server requests with ClientResource (restlet-gwt-2.0m7) I deploy this project on a server with tomcat 6. When i run my GWT Web interface with the local address everythink works fine. But, when i run it from th