Hi Peter, Thanks for sharing your experience with this application. I'm sure it will help users playing with transformations using the Restlet API. I've added an entry into the Wiki: http://wiki.java.net/bin/view/Javawsxml/Restlet
Best regards, Jerome > -----Message d'origine----- > De : news [mailto:[EMAIL PROTECTED] De la part de Peter Murray > Envoyé : mardi 24 avril 2007 22:09 > À : [email protected] > Objet : Example of a Restlet Application/Servlet using both > Client and Server > > Thanks, Jerome, for your recent replies on questions about the 1.0.0 > release, and for your efforts on Restlet in general. It is truly a > useful piece of work. I'd like to share an Restlet-based application > that others may find useful as a template or example. It is called > "BaseDisseminator" and is used in conjunction with a digital object > repository to perform transformations on objects. It has a number of > interesting features made easy by Restlet. > > BaseDisseminator can be built as completely packaged Java application > (using the One-Jar class loader to embed the requisite JARs inside one > JAR) or as a servlet running in any servlet container. In its > command-line application form (built using `ant jar`), it takes two > optional parameters -- the first is the port to listen on and > the second > is the URL prefix of the digital object repository. In its > servlet form > (built using `ant war`), the the digital object repository > URL prefix is > specified as an init parameter in WEB-INF/web.xml. > > In addition to operating as a Restlet-based server, it uses the REST > client capabilities to pull files from the digital object repository. > In the case of the "GetFullDisplay" class, it uses the > built-in Restlet > TransformRepresentation to apply an XSLT stylesheet to a > Dublin Core XML > file. > > The source code can be browsed via our project management tool at > http://drc-dev.ohiolink.edu/browser/BaseDisseminator/trunk or > checked out at https://drc-dev.ohiolink.edu/svn/BaseDisseminator/trunk > (Subversion repository). > > Thanks again to Jerome and the rest of the Restlet contributors. > > > Peter > -- > Peter Murray > http://www.pandc.org/peter/work/ > Assistant Director, New Service Development > tel:+1-614-728-3600;ext=338 > OhioLINK: the Ohio Library and Information Network > Columbus, Ohio > The Disruptive Library Technology Jester > http://dltj.org/ > Attrib-Noncomm-Share > http://creativecommons.org/licenses/by-nc-sa/2.5/

