Can I deploy a Java based web app (WAR file) in the apache server that comes by default with Linux Lamp server installation or do I need to install Tomcat on Linux Ubuntu server and then deploy the WAR?
Asked
Active
Viewed 999 times
1
-
You definitely need to instal the JDK and then some sort of container. Maybe Tomcat, maybe JBoss/Wildfly, maybe something else depending on your requirements. – markspace Mar 01 '16 at 05:04
-
You're going to have a hard time running Java on LAMP (Linux, Apache, MySQL, PHP). You need a servlet container such as Tomcat, JBoss, etc. – Jim Garrison Mar 01 '16 at 05:23
1 Answers
3
TL;DR
NO, it will not work with just LAMP
Apache HTTPD which is part of standart LAMP stack is plain web server, where WAR deployment requires servlet container. See also here