RE: PUT and entity

2008-06-11 Thread Jerome Louvel
Hi all, After reading the REST discussion thread again, here is a summary of the various arguments given by participants: - Use zero-length entities instead. (Jon Hanna) - Maybe an indication that another resource/representation design is preferable (Bruno Harbulot) - "It seems harder to be co

RE: restlet and comert

2008-06-11 Thread Jerome Louvel
Hi Jim, There have been some discussion about that in an RFE on asynchronous request processing. "Support asynchronous processing" http://restlet.tigris.org/issues/show_bug.cgi?id=143 This feature is planned for Restlet 1.2 but I'm not sure yet if it will include Comet support. I'm still skept

RE: Webdav and restlet

2008-06-11 Thread Jerome Louvel
Hi Rob, That's a great contribution to the Restlet community! I've added a page to our wiki to discuss this topic and pointed to your GoGoEgo project and added a (long!) citation taken from your email. "WebDAV support" http://wiki.restlet.org/docs_1.1/g1/43-restlet/128-restlet.html Feel free

RE: Restlet JAX-RS extension

2008-06-11 Thread Jerome Louvel
Hi Stephan, Looks good. You just missed the "library.properties" file. I've just committed the update. Best regards, Jerome -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : mercredi 11 juin 2008 11:30 À : discuss@restlet.tigris.org Objet : Re: Restlet JA

RE: Restlet causing JVM crashes

2008-06-11 Thread Jerome Louvel
Hi Mark, As it is a JVM bug, it seems natural to expect it to be fixed by Sun. If in the long run, the bug stays around and no satisfactory workaround is given, we could try to tweak the Restlet implementation to prevent it. Feel free to enter an issue in the tracker if necessary. Best rega

RE: Restlet JAX-RS extension

2008-06-11 Thread Jerome Louvel
Hi Stephan, Great summary email! I'd like to take this opportunity to congratulate you for the huge amount of work that you have put into this JAX-RS extension effort so far and into the numerous discussions with the JSR-311 EG. I feel like we now have a strong JAX-RS implementation that will b

Re: Restlet JAX-RS extension

2008-06-11 Thread Stephan Koops
Hi Jerome, Regarding version 0.8, I agree about the renaming. Could you take care of it directly? Ok. Done. I've renamed the directories with subversion, renamed the new imported projects in Eclipse and checked in to the repository. I hope I forget nothing. best regards Stehan

RE: from the org.restlet.data.Request, get the HttpServletRequest

2008-06-11 Thread Jerome Louvel
Hi Rob, There is already this method available (added recently): http://www.restlet.org/documentation/snapshot/ext/com/noelios/restlet/ext/se rvlet/ServletCall.html#getRequest(org.restlet.data.Request) It only retrieves the Servlet request if the Restlet request comes from a Servlet adapter. It

RE: Guards and authentication mechanisms

2008-06-11 Thread Jerome Louvel
Hi Bruno, This looks like a killer post :-) I've added a comment about it in the RFE and will come back to it later (too busy to thoroughly read and comment it now). Best regards, Jerome -Message d'origine- De : news [mailto:[EMAIL PROTECTED] De la part de Bruno Harbulot Envoyé : mardi

Re: PUT and entity

2008-06-11 Thread John D. Mitchell
On Wednesday 2008.06.11, at 01:11 , Jerome Louvel wrote: [...] My conclusion is that the support of PUT with no entity is not necessary for now in Restlet. Any other opinion? I concur. It's totally nonsensical to have no entity at all for a put. That's like trying to put a null into a col

Vote SOON for Restlet in SourceForge's Community Choice Awards!

2008-06-11 Thread Aron Roberts
SourceForge is sponsoring its third annual "Community Choice Awards": http://sourceforge.net/community/cca08 This year, for the first time, any open source project is eligible, not just those hosted on SourceForge.net. So you can vote for Restlet and any other of your favorite projects.

How to run JAX-RS application in a Servlet container

2008-06-11 Thread sbyonge
I would like to know how to deploy a JAX-RS application in a Servlet container. I built a resource and MyAppConfig for testing and I don't know how to deploy it a servlet container (similar to a servlet example in quick start). public class MyAppConfig extends ApplicationConfig { @Override pu

cURL PUT with data?

2008-06-11 Thread Marcus
Hey all, I did research into Restlet at the beginning of this year and really liked it. It tought me a lot about REST in general, but my boss decided that for the mean time we would implement our REST services in PHP, and slowly migrate modules across to Java at a later date. Regardless, I f

Re: cURL PUT with data?

2008-06-11 Thread Marcus
I did a quick test, and formatted up my own HTTP request manually. I put in the PUT verb and the resource URI, the headers, and the data. Apache doesn't provide the data in the post data. It does pass these in when i change the verb to POST. Could this be an Apache thing? This is making the imp

Re: How to run JAX-RS application in a Servlet container

2008-06-11 Thread Stephan Koops
Hi sbyonge, Until now I've used JAX-RS only as standlone application outside a Servlet container. I propose to create a subclass of the JaxRsApplication, and override it's createRoot methode to set the Guard and so on: public class MyJaxRsApplication extends JaxRsApplication { @Override

Re: How to run JAX-RS application in a Servlet container

2008-06-11 Thread Stephan Koops
I forget: http://www.restlet.org/documentation/1.1/firstSteps#part03 shows, how to deploy this application in a Servlet Container. Stephan Stephan Koops schrieb: Hi sbyonge, Until now I've used JAX-RS only as standlone application outside a Servlet container. I propose to create a subclass o