×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
Your interpretation is correct. I found an IBM doc on Node that actually refers you to the Tomcat doc for start-up.
-----Original Message-----
From: Nathan Andelin [mailto:nandelin@xxxxxxxxx]
Sent: Friday, December 16, 2016 2:12 PM
To: Web Enabling the IBM i (AS/400 and iSeries) <web400@xxxxxxxxxxxx>
Subject: Re: [WEB400] Using Node w/ Apache
So how does Node run, from an IBMi perspective? Is it like Tomcat,
where you run a QSH command in batch? Does Node always run the same way?
I interpreted your question as whether you start Node via QSH or presumably some other Unix shell. Yes, you use a Unix shell to start Node. It runs in PASE - like Tomcat (which is Java based, which also runs in PASE).
It appears that Aaron interpreted your question to be in regards to the similarities between the Tomcat HTTP server and the HTTP service implemented in Node.
In that regard, Tomcat IS AN HTTP SERVER which includes a module which implements a subset of the Java EE specification.
In contrast, Node is a JavaScript language runtime which includes an HTTP module, which enables applications to implement the HTTP protocol (both server and client) if you want to.
Note the distinction? Tomcat IS AN HTTP SERVER - meaning that the HTTP service is Tomcat's primary function (the Java EE subset is arguably a secondary function).
The primary function of Node is its JavaScript language runtime, which may be used to implement an HTTP service.
As an Amazon Associate we earn from qualifying purchases.