Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Groovy integrates cleanly with

Error rendering macro 'link' : Link needs a name and a URL as arguments.
(the Bean Scripting Framework) which allows you to embed any scripting engine
into your Java code while keeping your Java code decoupled from any particular
scripting engine specifics.

The BSF engine for Groovy is implementated by the

Error rendering macro 'link' : Link needs a name and a URL as arguments.
class.
From bsf 2.3.0-rc2 onwards the integration should be included in the release of BSF
although until then you'll need to manually register this class with your BSF installation.
You can manually register Groovy into BSF via the following...

You can then treat Groovy like any of the other scripting languages via the BSF API...

If you want to see more examples of using Groovy with BSF you could try the

Error rendering macro 'link' : Link needs a name and a URL as arguments.

  • No labels