BeanShell language

From the BeanShell documentation: "BeanShell is a small, free, embeddable, Java source interpreter with object scripting language features, written in Java. BeanShell executes standard Java statements and expressions but also extends Java into the scripting domain with common scripting language conventions and syntax." So if you know Java programming language, and already used some scripting languages, you will find it quite easy to learn and use. For more information, please visit: http://www.beanshell.org/

In FMPP, BeanShell is used for:

  • Creating Java objects to be used in setting values. For example when the data setting used together with the eval data loader.
  • Pre-processing data for individual templates. See the localData setting and its bsh function.
  • Accessing Java classes and objects from FTL templates, using the pp.loadData directive with the eval data loader.