3 Replies Latest reply on Apr 17, 2003 2:24 PM by Juha Lindfors

    Porting to Jboss from Orion or Oracle 9ias

    zboss Newbie

      Does anyone have experience porting to Jboss from Orion or Oracle Application Server? it seems that the all of the xml tabs for ejb beans / ejb-jar.xml need to be completely rewritten?

        • 1. Re: Porting to Jboss from Orion or Oracle 9ias
          Adrian Brock Master

          Can you be less specific?

          The ejb-jar.xml is standard stuff, it is likely
          Orion is not as strict as jboss. Jboss follows the
          spec pretty closely.

          Regards,
          Adrian

          • 2. Re: Porting to Jboss from Orion or Oracle 9ias
            zboss Newbie

            Here's just a small sample from a working Oracle9ias/Orion ejb-jar.xml file compared to JBOSS (info from 'jboss 3.0 deplyment & administration handbook' - they appear to be very different - hope I'm wrong:

            ORACLE 9IAS / ORION
            <entity-deployment name="Booking" copy-by-value="false" data-source="jdbc/OracleDS" exclusive-write-access="false" table="BOOKING">
            <primkey-mapping>
            <cmp-field-mapping>

            <cmp-field-mapping name="booking_id" persistence-name="BOOKING_ID" persistence-type="NUMBER(22)"/>

            </cmp-field-mapping>
            </primkey-mapping>
            <cmp-field-mapping name="booking_id" persistence-name="BOOKING_ID" persistence-type="NUMBER(22)"/>
            <cmp-field-mapping name="repeat_booking_id" persistence-name="REPEAT_BOOKING_ID" persistence-type="NUMBER(22)"/>
            <cmp-field-mapping name="room_id" persistence-name="ROOM_ID" persistence-type="NUMBER(22)"/>

            JBOSS
            orion version is <entity-deployment
            <pk-constraint-template> orion version is <primkey-mapping>etc etc
            <cmp-field><field-name>room_id</field-name></cmp-field> orion version is <cmp-field-mapping name="room_id"
            jboss - don't see any tags called persistence-name or persistence-type

            • 3. Re: Porting to Jboss from Orion or Oracle 9ias
              Juha Lindfors Master

              Please don't cross-post. I don't want to start deleting duplicate threads.