0 Replies Latest reply on Dec 27, 2010 2:04 AM by dew

    Migrate from Weblogic to Jboss 5.0.1 as

    dew

      Hello,

      I am novice in Jboss and I have a problem.

       

      I have EAR application for weblogic.

      This EAR contains two enterprise java beans (EJB) JARs and one WAR archive.

      EJB contain deployment descriptors:

      ejb-jar.xml

      and specific files for Weblogic:

      weblogic-ejb-jar.xml

      weblogic-cmp-rdbms.xml

       

      I need create appropriate specific deployment desriptor for JBoss:

      I found there are:

      jboss.xml

      jbosscmp-jdbc.xml

      persistence.xml

       

      But I am not sure how use persistence.xml?

       

      Next. I have problem with tag <automatic-key-generation> in weblogic-cmp-rdbms.xml.

       

      How can I generate key for jboss??

       

      And in file weblogic-ejb-jar.xml are tags:

      <entity-descriptor>
                  <persistence>
                      <persistence-use>
                          <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
                          <type-version>7.0</type-version>
                          <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
                      </persistence-use>
                  </persistence>
              </entity-descriptor>
      
      <entity-descriptor>
                  <persistence>
                      <persistence-use>
                          <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
                          <type-version>7.0</type-version>
                          <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
                      </persistence-use>
                  </persistence>
              </entity-descriptor>
      
      

       

      What tags are equals for Jboss.

       

      Thank you very much