Re: Relative vs absolute context path in embedded mode

2006-07-31 Thread Jerome Louvel
Hi Bill, > Hope all is peaceful in Restlet Valley! Peaceful but very busy :-) > A colleague and I were discussing the "single" contextPath of > the ServerServlet when running in embedded mode. > For instance we wanted to be able to run both of these urls > and get to the same Restlet contain

RE: RE: sample CRUD app?

2006-07-31 Thread Jerome Louvel
Dave, > > Instead of "controlling tree", I should probably talk about a "call > > delegation chain" which tries: > > 1) To locate the resource identified in the call > > 2) To ask it to handle the call: content negotiation via > res.getVariants(), > > or PUT/POST/DELETE/... processing. I'

RE: RE: How to obtain the mime type on a PUT

2006-07-31 Thread Morone, Bill
Hey Jerome, Hope all is peaceful in Restlet Valley! A colleague and I were discussing the "single" contextPath of the ServerServlet when running in embedded mode. For instance we wanted to be able to run both of these urls and get to the same Restlet container: http://localhost:8080/clienthold

Re: RE: sample CRUD app?

2006-07-31 Thread Dave Pawson
On 31/07/06, Jerome Louvel <[EMAIL PROTECTED]> wrote: Your description is correct. At a first glance, it is hard to differentiate Restlets, Handlers, Resource, Filters, etc because they are all Restlets. There is a diagram that might help here: http://www.restlet.org/tutorial#conclusion Inste

RE: RE: sample CRUD app?

2006-07-31 Thread Jerome Louvel
Hi Chris, Your description is correct. At a first glance, it is hard to differentiate Restlets, Handlers, Resource, Filters, etc because they are all Restlets. There is a diagram that might help here: http://www.restlet.org/tutorial#conclusion I think it would be great if you could put together

Re: [OT] A kind of standard XML format for e-mails

2006-07-31 Thread Lars Heuer
Hi Jerome, [...] > There is indeed a hole here. The Internet Mail Consortium (IMC), started > some work on a Next Generation of email as well as an XML message format, > but nothing concrete came out so far and the groups are inactive. Too bad. > Paul Prescod did an interesting proposal for a RE

Re: How to obtain the mime type on a PUT

2006-07-31 Thread Dave Pawson
On 31/07/06, Jerome Louvel <[EMAIL PROTECTED]> wrote: Dave, You can use getName() method to get the main and sub types together. Yes, I am doing that, once I realised it was in two parts. I thought that 'application/xml' *was* the mime type? I.e. it didn't hve a main and sub type. Perhaps I w

RE: How to obtain the mime type on a PUT

2006-07-31 Thread Jerome Louvel
Dave, You can use getName() method to get the main and sub types together. Thanks, Jerome > -Message d'origine- > De : Dave Pawson [mailto:[EMAIL PROTECTED] > Envoyé : dimanche 30 juillet 2006 11:05 > À : discuss@restlet.tigris.org > Objet : Re: How to obtain the mime type on a PUT >

RE: Re: RE: sample CRUD app?

2006-07-31 Thread Jerome Louvel
Hi all, I've updated the Glossary to add an entry for 'Scorer' and to fix the typo. Thanks, Jerome > -Message d'origine- > De : Dave Pawson [mailto:[EMAIL PROTECTED] > Envoyé : lundi 31 juillet 2006 08:48 > À : discuss@restlet.tigris.org > Objet : Re: Re: RE: sample CRUD app? > > On 3