3 Replies Latest reply on Aug 4, 2008 7:53 AM by jesper.pedersen

    We need move JCA metadata to jboss-metadata project

    jeff.zhang

      Please refer Adrian's post:
      http://www.jboss.com/index.html?module=bb&op=viewtopic&t=134272
      number 9)

      I am working about JIRA JBAS 5752(Testing of JCA xml parsing). I think we should move JCA metadata model code to jboss-metadata project . There are ear, war, etc... J2EE spec model metadata description.

      I also think we should refactor ra-xml, jbossra-xml parser from MultipleObjectModelFactoryDeployer to XB parser using JAXB annotation, is it right approach?

        • 1. Re: We need move JCA metadata to jboss-metadata project
          vickyk

           

          "jeff.zhang" wrote:

          I also think we should refactor ra-xml, jbossra-xml parser from MultipleObjectModelFactoryDeployer to XB parser using JAXB annotation, is it right approach?

          What drawback do you see with this approach apart from more code now ?
          We can think of migrating over to jaxb annotation over time .



          • 2. Re: We need move JCA metadata to jboss-metadata project
            vickyk

             

            "jeff.zhang" wrote:

            I am working about JIRA JBAS 5752(Testing of JCA xml parsing). I think we should move JCA metadata model code to jboss-metadata project . There are ear, war, etc... J2EE spec model metadata description.

            We have plans to move to jboss-metadata but I am not sure when it is going to get started .
            I understand that Jesper is focusing on getting one more Jboss5 release before starting work on new jca project.

            • 3. Re: We need move JCA metadata to jboss-metadata project
              jesper.pedersen

               

              "jeff.zhang" wrote:
              I am working about JIRA JBAS 5752(Testing of JCA xml parsing). I think we should move JCA metadata model code to jboss-metadata project . There are ear, war, etc... J2EE spec model metadata description.


              jboss-metadata would be the place. Please, coordinate this with Alexey/Emanuel in regards to the CR2 time frame. You should only move the code if the task can be completed in time. Adrian has put a lot of work into making this work for the TCK setup, so breaking any code is not an option.

              The POJO implementation should depend on the metadata being in the jboss-metadata project -- or in a sub-project. We need to limit the dependencies to the AS code base - and hopefully end up with zero. AS should depend on the JCA POJO implementation.

              "jeff.zhang" wrote:
              I also think we should refactor ra-xml, jbossra-xml parser from MultipleObjectModelFactoryDeployer to XB parser using JAXB annotation, is it right approach?


              The same goes here - look it over and see if it can be completed in time.

              We will get the requirements for this area from the JCA 1.6 specification once published, so the refactoring can/will be done as part of the POJO implementation.

              We will fire off the POJO development once AS-5 has gone GA.