help icon indicating copy to clipboard operation
help copied to clipboard

Node.Js deployment on IBM Websphere

Open RaniaShady opened this issue 5 years ago • 6 comments

  • Node.js Version: 14
  • OS: Linux
  • Scope (install, code, runtime, meta, other?): deployment
  • Module (and version) (if relevant):

I need support for deploying my application to websphere as per as customer requirements.

My application has angular 8 as front end, and node.js as back-end (api)

I can’t find a similar example on the internet.

Appreciate your support.

RaniaShady avatar Sep 16 '21 23:09 RaniaShady

Which version of WebSphere? Traditional (tWAS) or a Liberty deployment? As you likely appreciate, the WebSphere SDK runtime is primarily Java, so its not going to natively execute your Angular application at the server. However, some Liberty environments do include a Node.js runtime, so perhaps that is what your customer is expecting? Otherwise, are you perhaps only expecting to statically serve the front-end JS files for local execution at your customer's clients?

shellberg avatar Sep 17 '21 11:09 shellberg

Hi Shellberg, Actually I am not expert in websphere. However, we don't need to serve the frontend statically . If you can describe both ways (traditional and liberty) it will be appreciated Thank you

RaniaShady avatar Sep 17 '21 11:09 RaniaShady

Well... I sort of tried to indicate your problem in my first response.

The 'Traditional' WAS is Java-based, not JavaScript. Even with the Java runtime running JS code in emulation - not as performant as Node.js - you are not executing a Node.js workload, whether that is Angular-based or not. As for Liberty, it similarly has its roots in execution with a Java runtime. However, your customer might be in a (Liberty-based) situation where a Node.js runtime exists alongside the Java stack, and is conducting some processing (related to WAS)... I do not know if the terms of use include execution of additional user workloads by that Node.js runtime (in the Liberty context). Assuming it could accommodate, I'm not sure that I see how that constitutes 'deploying your [Angular] application to WebSphere' in order to meet your customer requirements! (The one way I might have understood your requirements was if you were using WAS as your server to host files statically to distribute your client-side JS code, but you dismissed that.)

shellberg avatar Sep 17 '21 16:09 shellberg

@RaniaShady if you work for IBM or Red Hat I suggest you reach out to me internally so we can have a higher bandwidth discussion (You should be able to find me in either internal directory)

mhdawson avatar Sep 17 '21 19:09 mhdawson

@RaniaShady were able to get a solution to your issue

preveen-stack avatar Jun 22 '23 14:06 preveen-stack

It seems there has been no activity on this issue for a while, and it is being closed in 30 days. If you believe this issue should remain open, please leave a comment. If you need further assistance or have questions, you can also search for similar issues on Stack Overflow. Make sure to look at the README file for the most updated links.

github-actions[bot] avatar May 09 '24 01:05 github-actions[bot]