Integrate Software AG Products Using Digital Event Services 10.4 | Integrate Software AG Products Using Digital Event Services | MashZone NextGen Help | Appendix | Legacy Presto components | Mashables and Mashups | Mashups in EMML | Writing Mashups in EMML | Transforming Intermediate Results | Deploying Groovy or JavaScript Scripts in MashZone NextGen
 
Deploying Groovy or JavaScript Scripts in MashZone NextGen
To use Groovy or JavaScript scripts that are defined in external files with the <script> statement in mashups, you must add them to a folder that is accessible to the MashZone NextGen Server. Add the scripts to one of these locations:
*The external configuration folder, if any, for the MashZone NextGen Server.
Important: Deploying additional resources, such as custom XPath classes, to an external configuration folder simplifies future deployments or MashZone NextGen Server clusters.
*web-apps-home/mashzone/WEB-INF/classes for uncompressed scripts. This is the default location, but is not recommended as it complicates MashZone NextGen Server deployments. for uncompressed scripts.
*If you add scripts to a JAR, add the JAR file to web-apps-home/mashzone/WEB-INF/lib . This is the default location, but is not recommended as it complicates MashZone NextGen Server deployments.
Then, restart the MashZone NextGen Server.

Copyright © 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release