Benefits of Using Groovy in Journey Manager

   PlatformApplicable to all products in Temenos Journey Manager.  |   Platform Developer |  All versions This feature is related to all versions. |  v17.10 This feature was deprecated in 17.10.

Journey Manager is written in JavaJava is a programming language that produces software for multiple platforms. When a programmer writes a Java application, the compiled code (known as bytecode) runs on most operating systems (OS), including Windows, Linux and Mac OS. Java derives much of its syntax from the C and C++ programming languages. and runs on Java Virtual MachineJava Virtual Machine (JVM) is a software-based machine that runs Java programs. It can be installed on several different operating systems, including Windows, OS X, and Linux. JVMs allow Java apps to run on almost any computer. (JVM). Manager provides extensive support for using GroovyGroovy is a powerful scripting language which runs on the Java Virtual Machine. Across theTemenos Journey Manager platform, Groovy is used to create services in Manager. These services are primarily used to create plug-in style systems that interact with Manager. language, which enables developers to quickly implement business and integration logic without having to deploy custom code as jar files and restart Manager servers.

Groovy has the following benefits, over other scripting languages, that make it the right candidate for Manager:

Note

Groovy was first introduced in Manager v3.3.0 and it has been extensively used since v3.5.0. Manager v17.10 supports Groovy v2.4.15. Every major Manager release includes the latest Groovy release. If you want to keep up-to-date with Groovy releases, refer to http://groovy-lang.org/index.html.

Manager uses service definitions, which provide Groovy extension points for the following service types.

  • Delivery Process.
  • Dynamic Data.
  • Form Prefill.
  • Form Saved Processor.
  • Groovy Service.
  • Receipt Number.
  • Scheduled Service.
  • Submission Complete Processor.
  • Submission Preprocessor.
  • Task Expiry.

All these services have Groovy tab that allows developers to write a Groovy script to implement specific requirements.

The script can be tested using the Unit Test tab, which significantly speeds up the development process and helps to find most of the errors before making use of this service.

Next, learn about benefits of using Fluent Groovy services.