File structure and Deployment of JSF applications with Jboss EAP in Debian 8

Asked

Viewed 144 times

1

I wonder if there is how to configure Jboss EAP to deploy Java applications (JSF, Hibernate, Primefaces, Maven) in the folder /var/www/.

The structure of the folder /var/www is the following:

/var/www
    /php
    /java
        /appjsf1.war
        /appjsf2.war
    /python

Jboss is installed in /opt/jboss-eap-6/ and Java applications run on /opt/jboss-eap-6/server/default/deploy only that I don’t want the applications to be inside the application server folder.

My doubt comes from dissatisfaction with the current file structure that runs within the application server folder and also out of curiosity. Since there are many distributed systems to give scalability to large software projects and Jboss is used in many of them, I think I could separate the code repository from my Jboss server applications.

Taking advantage, and if I want to run Jboss on a server and leave my codes on another server, it is possible?

1 answer

1

Browser other questions tagged

You are not signed in. Login or sign up in order to post.