1 Reply Latest reply on Feb 11, 2005 8:27 PM by Vishal Sharma

    Application struturation

    Colin Berrouard Newbie

      Hi,

      I have 5 applications and two of them use common EJB.

      Under ' /server/default/Deploy' directory, can I structure the directory like this
      /server/default/Deploy/app1, /server/default/Deploy/app2 ..., if yes, how do I tell to JBoss to use those directories.

      If you have any other suggestions to structure my applications...

      Thanks

        • 1. Re: Application struturation
          Vishal Sharma Expert

          Go to /defulat/conf directory.
          There is jboss--service.xml file.
          Thst file loads the Deployment Scanner Mbean.

           <!-- ==================================================================== --> <!-- Deployment Scanning --> <!-- ==================================================================== -->
           <!-- An mbean for hot deployment/undeployment of archives.
           -->
           <mbean code="org.jboss.deployment.scanner.URLDeploymentScanner"
           name="jboss.deployment:type=DeploymentScanner,flavor=URL">
          
           ---------------------------------------------------
           --------------------------------------------------
          
           <attribute name="URLs">
           deploy/
           </attribute>
          
           <!-- Indicates if the scanner should recursively scan directories that
           contain no "." in their names. This can be used to group applications
           and services that must be deployed and that have the same
           logical function in the same directory i.e.
           deploy/JMX/
           deploy/JMS/
           ...
           -->
          
           <attribute name="RecursiveSearch">True</attribute>
          
           </mbean>

          You want to read this and customize according to yr settings.
          Ands once u are done then make sure you post back to this thread to share yr experiences for everyones benefit ..;-)

          Vishal