File structure and deployment of JSF applications with JBoss EAP in Debian 8

1

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?

    
asked by anonymous 27.01.2018 / 23:10

1 answer

1

After searching a lot I found the right way to ask and this is:

How to change the default JBoss deployment folder?

The answers came naturally:

The main source is RedHat itself ("owner" of JBoss EAP):

28.01.2018 / 19:40