Node.js and CICS bundles
A Node.js application consists of JavaScript source code and supporting files. The Node.js application is deployed in a CICS bundle by using the CICS NODEJSAPP bundle part.
The NODEJSAPP bundle part references the JavaScript code to start the application and a Node.js application profile which are both packaged in the CICS bundle. If the Node.js application has dependencies, those dependencies must be resolved by using NPM before the bundle is enabled.
When the CICS bundle is enabled, CICS uses the configuration in the Node.js application profile to set up the environment and start the Node.js runtime that is supplied by the IBM® SDK for Node.js -z/OS®. The Node.js runtime starts the application.
When the CICS bundle is disabled, CICS attempts to stop the Node.js application by sending it a SIGTERM signal. The Node.js runtime is then removed.
For more information on deploying Node.js applications, see Deploying Node.js applications.