4 Replies Latest reply on Nov 24, 2004 10:19 AM by lefou

    jaws vs. jbosscmp-jdbc suggestion

    lefou

      Hi,

      I plan to migrate an EJB 1.1 project to JBoss (3.2.x). Can anybody tell me the differences between jaws.xml and jbosscmp-jdbc.xml. Do they have the same syntax? Which is more capable? Is it possible with one of these both, to connect to more than one datasource?

      Any suggestions or links to a good comparison would be nice.
      Many thanks in advance!

      lefou

        • 1. Re: jaws vs. jbosscmp-jdbc suggestion
          mk637

          This sounds like a misunderstanding...

          There is no jaws.xml, there is a jaws.dtd and this is - according to my understanding - the descriptor file for the jbosscmp-jdbc.xml file.

          And of course the latter is still a very important configuration file for JBoss.

          • 2. Re: jaws vs. jbosscmp-jdbc suggestion
            lefou

             

            "mk637" wrote:
            This sounds like a misunderstanding...

            There is no jaws.xml, there is a jaws.dtd and this is - according to my understanding - the descriptor file for the jbosscmp-jdbc.xml file.


            I cannot believe this. The JBoss 3.0 Documentation speak from a jaws.xml in chapter 6 with the xml root element \<jaws\>, but the JBoss Admin Development Guilde speak about a jbosscmp-jdbc.xml file with root element \<jbosscmp-jdbc\>

            So, both exists and both define some \<datasource\> ... \</datasource\> stuff.

            Totally confused. Can anybody help?

            • 3. Re: jaws vs. jbosscmp-jdbc suggestion
              starksm64

              JAWS was the old cmp1.1 engine that is obsolete and no longer supported. The jbosscmp-jdbc.xml is the cmp2.x engine that supports 1.1 style entity beans. The cmp2.x engine is far more capable.

              • 4. Re: jaws vs. jbosscmp-jdbc suggestion
                lefou

                Is it possible, to define more than one datasoure (with different transaction levels) ?