> On Feb 12, 2015, at 9:04 AM, Pratik Patel <
xprati...@gmail.com> wrote:
>
> Hi,
>
> Is it possible to run nodejs application on apache tomcat?
Kind of not really.
node.js runs as a separate process, and it's not written in Java, so a Tomcat container won't help too much. (As a side note, check out vert.x for something node-like but JVM-friendly. You won't get the whole ecosystem of node though)
Usually people integrate node with an HTTP proxy, rather than an app container -- something like apache with a reverse proxy module, or nignx.
I imagine there's ways to hack something of interest up, but what are your goals for doing so?
Aria