M B E A N   C O N F I G U R A T I O N   A N D   D E P E N D E N C Y   M A N A G E M E N T   P A G E   1 0 9  
are not removed when the sar is undeployed.  This can be used to install prebuilt 
configurations, database files, etc. 
Deployment 
Now that you have your mbeans written and the configuration determined, you can deploy 
your package by copying it into a directory watched by the URLDeploymentScanner, 
typically server/default/deploy.  For specific deployments you can list the URLs to deploy 
explicitly in the URLDeploymentScanner.  You can also deploy programmatically by calls on 
the mbean server: 
server.invoke( 
    new ObjectName( jboss.system:service=MainDeployer ), 
    "deploy", 
    new Object[] { myUrl}, 
    new String[] { "java.net.URL" } 
); 
(Exception handling and remote access to the mbean server ommitted).
109






footer




 

 

 

 

 Home | About Us | Network | Services | Support | FAQ | Control Panel | Order Online | Sitemap | Contact

best web hosting

 

Our partners: PHP: Hypertext Preprocessor Cheap Web Hosting JSP Web Hosting Ontario Web Hosting  Jsp Web Hosting

Cheapest Web Hosting Java Hosting Cheapest Hosting

Visionwebhosting.net Business web hosting division of Vision Web Hosting Inc.. All rights reserved