1 2 3 4 Previous Next 48 Replies Latest reply on Jun 26, 2008 1:33 AM by Richard Opalka

    HOWTO deploy webapp dynamically

    Thomas Diesler Master


      this is related to http://jira.jboss.org/jira/browse/JBWS-1967

      I now generate the JBossWebMetaData object in memory and want to deploy it through the main deployer. Previously I used to do

       VirtualFile file = VFS.getRoot(warURL);
       Deployment deployment = VFSDeploymentFactory.getInstance().createVFSDeployment(file);
       MutableAttachments attach = (MutableAttachments)deployment.getPredeterminedManagedObjects();
       attach.addAttachment(WebMetaDataModifier.PROPERTY_GENERATED_WEBAPP, Boolean.TRUE);

      Please show me how I create a deployment that is not based on a file.

      I looked at http://labs.jboss.com/file-access/default/members/jbossmc/freezone/docs/2.0.x/userGuide/pt04.html
      but that does not give me much information.

        1 2 3 4 Previous Next