3 Replies Latest reply on Nov 6, 2007 9:32 AM by alesj

    Deploy existing spring app with different archive structure

    springer

      Hi there.

      I have installed JBoss 4.0.3 & spring deployer 2.0. Now i want to deploy my existing spring application. These app. is actually running as standalone middletier and should be deployable as JBoss app. My spring context files are scattered among the package structure like ...

      + org.openwms.service.application
      | |--application-cfg.xml
      |
      + org.openwms.service.dao
      | |--dao-cfg.xml
      ...

      I didn't found a description how to deploy such way of structure. I don't want to refactor my app because it further should be running standalone.

      Have somebody tested this before?

        • 1. Re: Deploy existing spring app with different archive struct
          alesj

          I can try and hack something up for you to use this structure in the new JBossAS5 - with the new deployers that we refactored.
          But it's gonna take a while - till AS5_beta3 release.

          Dunno how you could make this work against the 4.0.x series.

          • 2. Re: Deploy existing spring app with different archive struct
            springer

            Hi Ales,
            thanks for your reply. So i have no requirement to deploy openwms only on JBoss AS 4.x. I still keep tracking spring deployer project for future features. I'am probably going to integrate openwms as an MBean service first.

            In between, i'll push spring deployer for my needs :-)

            But i think it should be possible in further releases to hold spring context files (and respectively spring web flow configs) in different subfolders of the .spring archive file.

            Thanks a lot

            • 3. Re: Deploy existing spring app with different archive struct
              alesj

               

              "springer" wrote:

              But i think it should be possible in further releases to hold spring context files (and respectively spring web flow configs) in different subfolders of the .spring archive file.

              Sure.
              This will be/is trivial to implement with the new deployers in AS5.