Use your groovy code in your gsps thanks to GrooScript. It converts the code to javascript and your groovy code will run in your browser. Also use Vert.x to use events between server and gsps.

Compile Dependencies (2)

Category/LicenseGroup / ArtifactVersionUpdates
Apache 2.0
org.grooscript » grooscript
Grooscript converts your groovy code to javascript
0.2.31.3.0
Apache 2.0 +1
org.vert-x » vertx-lang-groovy1.3.1.final5.2.3