Hi Aron,

The ability to configure a Component using an XML document is already
available in standalone mode. Therefore you can use it with the Simple
connector.

However, the current mechanism isn't dynamic, you would have to recreated
the Component instance each time you modify the XML config to take the
changes into account.

Best regards,
Jerome


-----Message d'origine-----
De : Aron Roberts [mailto:[EMAIL PROTECTED] 
Envoye : jeudi 3 juillet 2008 20:46
A : [email protected]
Objet : Re: Delivering files via Directory from a folder within the webapp
context

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