Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Contribution Overview

Grapplet provides a way for running Groovy on an applet, adding extra functionality to JS objects and arrays,
for example arrays behave like Java Lists, so all GDK methods available to List and Collection can be used in JS arrays.

Grapplet will automatically look for all <script> tags available in the page that have its language property set to
"text/x-groovy". This was inspired by a post on Dion's blog: Running Ruby in the browser via script type="text/ruby".

Once Grapplet is running on a page, you can evaluate any Groovy script by calling evaluateScript().

Team Members

Andres Almiray [aalmiray at users dot sourceforge dot net]

Download

Distributions

Pending. 

Installing

Pending. 

Pre-requisites

None

Documentation

In order to run Grapplet it needs to be signed, follow the next instructions to use a self-signed certificate
(recommended for testing) 

...

7. Copy the binary dist to your webserver. If you're using Apache copy
grapplet.html, groovy.js, grapplet-0.1.jar, groovy-all-1.0.jar, groovy and
groovy.cer to $APACHE_HOME/htdocs/grapplet

Documentation

Grapplet provides a way for running Groovy on an applet, adding extra functionality to JS objects and arrays,
for example arrays behave like Java Lists, so all GDK methods available to List and Collection can be used in JS arrays.

Developers

Source Control

http://svn.codehaus.org/groovy-contrib/grapplet

...