
Originally Posted by
rmunsky
Will it be possible to write a bean with Groovy and then use them inside Web Scripts?
Yes. You can do that today. With Spring Surf, you also have the option to write Groovy script controllers (.groovy files) to back your declarative Web Scripts. We're looking at GSP at the moment since we'd like to provide declarative Web Script .gsp support.
The documentation is still some kind of limitted. Is there some where a hint how to run the groovy backed controllers / surf webscripts? If so i would write a tutorial with that information. Currently we are using std. JS backed scripts and use groovy classes exposed to them. I would like to get rid of the JS layer at all but it would be nice to use the web script layer. If possible i would also use directly mapped groovy controllers. As an alternative i would use std. spring services/controllers mapped parallel to the webscripts running in surf. Can anyone give me a hint?