I don't know that there's anything that could/should be added to the API or
NRE, but I could envision an application of Restlet that maps resources onto
Groovy scripts in the file system per some well-known conventions.  I'm
thinking of something like a DRY framework sitting on top of Restlet.
Interestingly, Restlet is so well-designed, it probably wouldn't be more
complex than a series of Finders.

One can already achieve a similar effect by providing compiled Groovy
resource implementations and wiring them up programmatically in the
application.  The hypothetical Finder would outline the mapping conventions
so as to eliminate the need for the glue code.  Adding a new resource is as
simple as plopping a new script in the file system?

I suppose it wouldn't have to be limited to just Groovy either, but could
support other dynamic languages as well.

On 6/25/07, Jerome Louvel <[EMAIL PROTECTED]> wrote:


Hi Fred,

Beside the usage of Groovy DSL to configure a Restlet application (in
addition to the XML configuration support planned for Restlet 1.1), I
don't
see (yet) what else would make Restlet usage with Groovy more convenient.

Do you have any specific use case in mind?

Best regards,
Jerome

> -----Message d'origine-----
> De : Fred Janon [mailto:[EMAIL PROTECTED]
> Envoyé : samedi 23 juin 2007 15:09
> À : [email protected]
> Objet : Groovy support?
>
> I saw a mention of Groovy in the list, where an I find more
> information? (I am already a Groovy user).
>
> Thanks
>
> Fred
>
>

Reply via email to