Re: Getting confused

2007-01-17 Thread Vincent
Thanks Jerome, that helped a lot. I still need a few clarifications, though: > > So far so good, but what about POSTs? Should the constructor > > check the > > method type, like so: > > > > public MyBeanResource(Context context, Request request, > > Response response){ > > super(con

Struggling with recent changes

2007-01-17 Thread Sean Landis
I seem to have missed something fundamental regarding the recent changes. It now appears one must create a Resource to handle the dispatching of post, etc. We have several web services that previously dispatched to a Handler that implemented handlePost. I am unclear what to do with this Resource

RE: Getting confused

2007-01-17 Thread Jerome Louvel
Hi Yuri, > Hi Jerome, I guess now you have the start of the RC3 tutorial > on resources... > ;-) thanks it was very useful. Indeed! Actually this list is also a great starting point when I want to extend the FAQ pages. > In the same way that the Restlet framework provides a design > support

RE: Errors in Eclipse workspace

2007-01-17 Thread Jerome Louvel
Hi Yuri, Thanks for reporting those glitches, they are now fixed in SVN. Best regards, Jerome > -Message d'origine- > De : news [mailto:[EMAIL PROTECTED] De la part de Yuri de Wit > Envoyé : mercredi 17 janvier 2007 16:37 > À : discuss@restlet.tigris.org > Objet : Errors in Eclipse wo

Errors in Eclipse workspace

2007-01-17 Thread Yuri de Wit
Jerome, fyi: two issues I found recreating my restlet workspace in Eclipse: - MANIFEST.MF error due to empty com.noelios.restlet.ext.jmx java package in the jmx project - Absolute path to db4o jars in org.restlet.example thanks, -- yuri

Re: Getting confused

2007-01-17 Thread Yuri de Wit
Jerome Louvel noelios.com> writes: > In order to make your redirection more portable, you can do this instead: > > getResponse().setRedirectRef(getRequest().getRootRef() + "/bean/" + name); > Hi Jerome, I guess now you have the start of the RC3 tutorial on resources... ;-) thanks it was very usef

RE: Getting confused

2007-01-17 Thread Jerome Louvel
Hi again, Let me answer inline: > I upgraded to RC3 and am getting seriously confused. Oh oh :) > I have to rewrite most of my application's restlet-related > code, and I can't > figure out how I should do it. The major change should be regarding Handlers. In most cases you should be able to

RE: Maven support added

2007-01-17 Thread Jerome Louvel
Hi Vincent, This page indicates that the artifactId should be "the name of the jar without version." http://maven.apache.org/guides/mini/guide-naming-conventions.html Also, I've checked the Ibiblio repository and found many variants for naming: http://www.ibiblio.org/maven/ I think I would pref