An Effective JSL Architecture to Develop, Test and Maintain Applications in JMP® Software
Aug 20, 2014 7:20 AM
Peter Wiebe, PhD, Principal Quality Engineer, Abbott Laboratories Kevin True, Senior Quality Engineer, Abbott Laboratories Mark Anawis, Principal Quality Engineer, Abbott Laboratories
Applications developed in JMP are powerful, deployable and maintainable solutions for complex analytical processes. Here we describe a JSL application architecture that manages namespace, variable naming conventions and memory usage. By effectively combining the JSL commands "include," "function," and "expr" as the architecture of the JSL add-in, and leveraging the add-in path "$ADDIN_HOME(Unique_ID)\file.jsl", an otherwise complex and lengthy JSL script can be broken into several smaller JSL scripts. Each of these smaller scripts can be developed with its own variable naming conventions and tested independently or in combination with the other application scripts, creating a more manageable development process for a JSL programmer. Exercising the "new context" argument available within the "include" command effectively manages potential namespace collisions, while the "default local" argument available within the "function" command conveniently manages variable memory space. In addition, creating an application namespace allows for information to be passed across the application as necessary, while otherwise minimizing memory space. The application architecture described makes it more convenient for a JSL programmer to develop, test and maintain JMP applications.