Hey guys

Ok, so I am trying to add a little Groovy-ness to sling. The first
attempt would be to have Groovy as a scripting possibility. Now, I
checked out sling, and had a look at the code in the "scripting" branch.
There are several languages like ruby which implement a ScriptEngine.

First question: this is JSR 223, right?

Groovy has got a full fledged JSR 223-implementation (see
http://groovy.codehaus.org/JSR+223+Scripting+with+Groovy). My naive
approach would be to say that everything is already done to have groovy
enabled for the sling-platform, no more coding needed (lazy).

2nd question (naive): could somebody plz explain how the mapping between
request and script language works? Is there a place to define the
GroovyScriptEnginge as the one handling .groovy scripts?

I did read a lot about ResourceResolvers and stuff (and I did not get
all of it, I must admit), and I am rather unsure about what is currently
valid documentation and what not.

I would be glad to receive a kickstart, kind of a slingshot pointing in
the right direction...

Cheers

CSp.

Reply via email to