Dave, I understand the usage of Java Service Wrapper is more for advanced users. For beginners, I think they need to learn/understand how Java threads are working for now. You can refer to the java.lang.Thread class for details on when a JVM exists.
In the future we will be able to deploy a packaged Restlet Application easily inside the NRE, without have to manually start/stop things. Ideally a user-friendly Web interface will help there. For now, users have to understand a bit about Java threads and why their JVM doesn't exit as usual when they start a connector. Best regards, Jerome > -----Message d'origine----- > De : Dave Pawson [mailto:[EMAIL PROTECTED] > Envoyé : mercredi 20 décembre 2006 14:14 > À : Jerome Louvel > Objet : Re: Tutorial, cleanup > > On 20/12/06, Jerome Louvel <[EMAIL PROTECTED]> wrote: > > > > Dave, > > > > Unless you have some kind of Shutdown Restlet that can invoke your > > stopServer() method, that won't help you. > I had a Class with a main method, just to run the tutorial. > > I think the current behavior is > > just fine. If someone wants a more realistic/serious way to > manage a Restlet > > server, the usage of the Java Service Wrapper is highly recommended: > > http://wrapper.tanukisoftware.org/doc/english/introduction.html > Agreed, if it is being deployed; > (As usual )I'm trying to see it from the new user viewpoint? > > > > > > > > BTW, it is bundled with the Restlet distribution. There is > even a sample > > script for launching the Tutorial03 example in the "bin" directory. > > I'm reluctant to introduce more wrappers when a user > is trying to understand restlets? > > regards > > > > > -- > Dave Pawson > XSLT XSL-FO FAQ. > http://www.dpawson.co.uk

