Re: jax-rs example throwing exception: please help

2009-03-13 Thread Stephan Koops
Hi Ty, Do you put the JAR (I think javax.activation.jar) into your classpath? best regards Stephan Ty schrieb: > Hi, > This is most likely a really basic problem in my configuration but I can't > work it out. Any help is greatly appreciated. > > I have v1.2 of restlet and I'm trying to run

Re: unsubscribed but still getting emails, please fix

2009-03-13 Thread Jack Repenning
On Mar 13, 2009, at 7:23 AM, jbarciela jbarciela wrote: > Hello, > > I did the steps to unsubscribe, and in fact now the retrieve password > functionality fails saying that my email is invalid, but I'm still > receiving email. > > Can you fix that? I'll see what I can do. Can you send me the head

RE: Re: Restlet and Java 6

2009-03-13 Thread webpost
Can anybody post Restlet 1.1.3 with JAXB extention example with Java 6. we are having some troubles to get into work. Thanks -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=1318007

Re: Servlet container's filters, getParameters() and POSTing www-form-urlencoded data

2009-03-13 Thread Fabio Mancinelli
On Fri, Mar 13, 2009 at 1:17 PM, Jerome Louvel wrote: > Hi Fabio, > > I don't have a clean solution for you in a Servlet+JAX-RS scenario. Using > the Restlet API, you would have a workaround because we cache the result of > Request#getEntityAsForm() so you can call it several times. > > Maybe you

RE: Re: Why does the Restlet class have lifecycle methods?

2009-03-13 Thread Jerome Louvel
Hi David, I think it is really useful for Restlet subclasses to have those start/stop methods by default, like Servlets have init/destroy methods. Restlet connectors (Servers mainly) also leverage this. In addition, this let people potentially do all sort of initialization work, like loading a r

RE: Additional Restlet license: EPL 1.0

2009-03-13 Thread Jerome Louvel
FYI, the addition process of the "Eclipse Public License 1.0" is now complete. All source files have been updated as well as our commercial offer at Noelios. The latest 1.2 snapshot is now available under all the new license options. Best regards, Jerome Louvel -- Restlet ~ Founder and Lead de

RE: Testing RESTful Web Services built with Restlet

2009-03-13 Thread Jerome Louvel
Hi Mark, Thanks for the pointer to Condordion, it looks pretty cool! Do you have any plan for contributing a Restlet fixture to this project? ;) Best regards, Jerome Louvel -- Restlet ~ Founder and Lead developer ~ http://www.restlet.org Noelios Technologies ~ Co-founder ~ http://www.noelios.com

RE: Upload to Directory

2009-03-13 Thread Jerome Louvel
Hi Christian, For the "asdf" extension, you can simply register it with the MetadataService. For example: myApplication.getMetadataService().addExtension("asdf", MediaType.valueOf("yourNew/mimeType")); For your second case, I'm not sure. As a workaround, you could register the "bin" extension wi

RE: Servlet container's filters, getParameters() and POSTing www-form-urlencoded data

2009-03-13 Thread Jerome Louvel
Hi Fabio, I don't have a clean solution for you in a Servlet+JAX-RS scenario. Using the Restlet API, you would have a workaround because we cache the result of Request#getEntityAsForm() so you can call it several times. Maybe you can write a Servlet filter that extract all that you will need down

RE: Groovy as templating engine

2009-03-13 Thread Jerome Louvel
Hi Evgeny, Good question! Actually, Tal Liron is working on a script extension that will provide two main features: - scripted representations using javax.script engines (Groovy, Javascript, PHP, Python, etc.) - scripted resources I suggest that you follow the Restlet coders list. See this thre

RE: how to expose meta information

2009-03-13 Thread Jerome Louvel
Hi Alexander, I think you did a good job of summarizing the pros and cons. Now, REST itself doesn't provide any guidance on that point. It's partly a matter of taste. Using extension names provides very clean and compact URIs. However, using sub-resources provides more flexibility. You could even

jax-rs example throwing exception: please help

2009-03-13 Thread Ty
Hi, This is most likely a really basic problem in my configuration but I can't work it out. Any help is greatly appreciated. I have v1.2 of restlet and I'm trying to run the jax-rs example (as an application) from the org.restlet.example.jar: org.restlet.example.jaxrs I get this exception stac

Re: Invalid Success Status When No Client Connector Available?

2009-03-13 Thread Thierry Boileau
Hello Avi, thanks for the report. I've entered a new issue for this bug => http://restlet.tigris.org/issues/show_bug.cgi?id=760 best regards, Thierry Boileau > Hi all! > > Test case: > > * Using Restlet 1.1.3, with Groovy 1.6.0 and Java 1.5.0_16 on Mac OS X > 10.5.6 on an Intel Mac > * I have t