[Solved] Why do Java applications require application servers to get hosted? [closed]


If you are talking about Java web applications, then they need to run Java code on the web server. A static web server alone won’t do that.

That is the same situation with all other server-side programming environments as well (although some of them work via a plugin that is directly embedded into the Apache web server, you still need that plugin).

applications developed on what java technologies can be hosted in Apache http web server

There is client-side Java (applets, Java web start). Probably not what you are talking about, but those run off a static web server.

For server-side Java, always use an application server or a standalone JVM (with an embedded server). Don’t try to shove it into Apache (if that is even possible anymore these days). You may still want Apache (or nginx or something else) in addition as a front-end/load-balancer.

1

solved Why do Java applications require application servers to get hosted? [closed]