1 Reply Latest reply on Nov 30, 2003 4:29 AM by juha

    Jboss equivalent tags for Weblogic  tags

    ravisdwivedi Newbie

      Hi All
      Please note that I am working on porting my application from weblogic7.2 to Jboss3.2.I am not able to find out Jboss equivalent tags(jboss.xml) for following tags used in weblogic-ejb-jar.xml

      I am copying here a section of weblogic-ejb-jar.xml for
      entity and session bean

      FOR ENTITY BEANS:

      <entity-descriptor>
      <entity-cache>
      <max-beans-in-cache>1000</max-beans-in-cache>
      <concurrency-strategy>Database</concurrency-strategy>
      </entity-cache>

      <persistence-type>
      <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
      <type-version>6.0</type-version>
      <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
      </persistence-type>
      <db-is-shared>true</db-is-shared>
      <persistence-use>
      <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
      <type-version>6.0</type-version>
      </persistence-use>

      </entity-descriptor>
      <transaction-descriptor>
      <trans-timeout-seconds>3000</trans-timeout-seconds>
      </transaction-descriptor>

      FOR SESSION BEAN:

      <reference-descriptor>
      <resource-description>
      <res-ref-name>jdbc/oraclePool</res-ref-name>
      <jndi-name>oraclePool</jndi-name>
      </resource-description>
      </reference-descriptor>


      Kindly suggest me If some one knows about the equivalent tags.



      Thanks in advance:

      -Ravi

        • 1. Re: Jboss equivalent tags for Weblogic  tags
          Master

          The default cache size for different EJB types is configured in the standardjboss.xml file. You can override it per bean with the <container-configurations> section in your jboss.xml file.

          Same applies to different commit options (db-is-shared is commit option B which is JBoss default).

          Transaction timeout is configured as part of the transaction manager configuration (transaction-service.xml in your deploy directory).

          The session references have almost equal tags in jboss.xml.

          -- Juha