I would like to know how to configure JBoss EAP to deploy Java applications (JSF, Hibernate, PrimeFaces, Maven) in the /var/www/
folder.
The structure of the /var/www
folder is as follows:
/var/www
/php
/java
/appjsf1.war
/appjsf2.war
/python
JBoss is installed in /opt/jboss-eap-6/
and Java applications run in /opt/jboss-eap-6/server/default/deploy
but I do not want the applications to be inside the application server folder.
My question comes from dissatisfaction with the current structure of the files that run within the folder of the application server and also out of curiosity. Since there are many distributed systems to scale to large software projects and JBoss is used in many of them, I think I could separate the code repository of my applications from the JBoss server.
Taking advantage of it, and if I want to run JBoss on a server and leave my code on another distinguished server, is it possible?