Versions Compared


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

There are often cases in workflow construction where the output of one service is not quite right for the input of the next. In such cases, Beanshell services come in handy to help you make the necessary data transformations and " shimming " between incompatible services. Beanshells in Taverna typically perform data manipulation, parsing and formatting functions, saving to a local hard disk, etc.

Beanshell is a Java scripting language. A Beanshell service in Taverna enables you to write various Java code snippets and execute them as part of your workflows. For users who have never attempted Java programming we recommend the Java tutorial on Sun Microsystem's Web site. There are certain minor differences between the core language described there and the version used by the Beanshell; these are further documented at the Beanshell Web site. The good news is that almost all these differences make it easier to use Beanshell than conventional Java; it is unlikely a typical user would ever encounter them.

Table of Contents



Adding a Beanshell

To add a Beanshell to your workflow: