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.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.