On Wed, May 4, 2011 at 23:51, Manik Surtani <manik(a)jboss.org>
wrote:
So I reckon Javascript is the way to go, at least from a protocol standpoint. Now how we
expose this in remote client APIs (Java, Python, etc) needs some thought, but at first
glance it would seem as though we won't have a direct mapping to what we do on the
embedded side of things. E.g.,
http://www.mongodb.org/display/DOCS/MapReduce
Actually, using javax.script, we could default to Javascript (which is included in every
Java6 implementation out there) but also be able to specify alternatives via a mimetype.
In this way one could use any of the JSR 223 languages (Jython, JRuby, Groovy, etc).
Definitely an interesting thought. However this would require the various script parsers
being installed and available.
--
Manik Surtani
manik(a)jboss.org