• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

JBoss and multiple applications

 
Ranch Hand
Posts: 360
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello All,

I need to deploy multiple J2EE applications onto JBoss. I'm not sure which one is the best option.

Deploying all applications under one folder "jboss4.0\server\default\deploy"
or
Creating separate folder for each application "jboss4.0\server\APP1\deploy", "jboss4.0\server\APP2\deploy", "jboss4.0\server\APP3\deploy" etc.

Really appreciate any suggestions.

Thanks much.
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It depends, but if you make any new folders not directly inside your deploy directory will require you to change the jboss-service.xml and the DeploymentScanner MBean to include those directories.

if you want you developers to deploy but don't want them to have access to the JBoss directories you can create a URL, WebDav, Network share folder and point the DeploymentScanner to those locations. Check out the comments in the jboss-service.xml right above the DeploymentScanner settings. It most likely will be the last MBean declared in your jboss-service.xml

Mark
 
reply
    Bookmark Topic Watch Topic
  • New Topic