5 Replies Latest reply on Nov 13, 2007 6:55 AM by dimitris

    Incremental Hot Deployment

    plindsay

      There is some internal concern regarding the use of EAR packaging due to the assumption that exploded deployment is the most managable way to do fine grained updates in production environment.

      Is there any supported way to update a single compiled JSP in a existing EAR depolyment? Or for that matter a single SLSB?

      Thanks
      -phil

        • 1. Re: Incremental Hot Deployment
          starksm64

          Individual jsp in exploded ear/war == yes.
          Individual session bean == no

          • 2. Re: Incremental Hot Deployment
            mmaia

            Where can I find documentation on How to for expanded directory deployment(for development time) on JBoss?

            • 3. Re: Incremental Hot Deployment
              dimitris

              There is much to it: you can unzip any packed archive (.jar, .war, .ear, .sar, etc.) to a directory that has the exact same name (e.g. my.sar -> my.sar/).

              Redeployment then, instead of happening whenever the archive was 'touched', happens whenever the main descriptor is touched (e.g. for my.sar, would be my.sar/META-INF/jboss-service.xml)

              To be certain what gets 'watched' for each deployment, there is a method getWatchURL() (if I remember) on jboss.system:service=MainDeployer.

              • 4. Re: Incremental Hot Deployment

                Its an old thread but I wanted to ask maybe there is a new solution.

                is there any supported way to update a single compiled JSP in a existing EAR depolyment?

                maybe mbean that loads the file or take it from file location and zip it in the right place in an ear or a war?

                • 5. Re: Incremental Hot Deployment
                  dimitris

                  No, unless the whole .ear stucture is unzipped.