In the message " Re: Delivering files via Directory from a folder within t", dated 2008-07-03, Thierry Boileau wrote:

... the snapshot delivered tomorrow ([1]) ... will also contains some other changes : - the ability to add a component via an XML configuration file (see [http://www.restlet.org/documentation/1.1/api/org/restlet/Component.html]) called "restlet.xml" and located under the "WEB-INF" directory. - the ability to take automatically into account the context path of the Servlet application, that is to say, a new parameter lets the system add automatically (or not) the context path at the beginning of the uri pattern of all "attach" instructions.

  This is exciting news!  Two questions:

  1. We're looking for the ability to allow contributors to our
     projects to 'drop in' a folder containing their own resource
     and business object classes, and allow us to integrate
     their "drop-ins" through external configuration alone,
     with no other code changes required.

     How far does this new feature take us towards that goal?

     (The specific use case is a calendar event data application,
     where contributors could add support for accessing new
     types of repositories of calendar events; e.g. Exchange and
     SharePoint servers, Dean Evans & Associates EMS repositories,
     and so on, to the core repositories we've already defined.)

  2. Does this also work with the Simple framework and built-in
     Restlet server connectors?

     (To the best of my recollection, Simple, at least,
     doesn't require a WEB-INF directory.)

Aron

Reply via email to