[infinispan-dev] Invoking distributed exec and mapreduce over hotrod

Pete Muir pmuir at redhat.com
Fri May 6 10:30:05 EDT 2011


On 4 May 2011, at 23:47, Tristan Tarrant wrote:

> On Wed, May 4, 2011 at 23:51, Manik Surtani <manik at 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).

This is a pretty good idea I think.


More information about the infinispan-dev mailing list