[jboss-dev-forums] [EJB Development] - Migrate from Weblogic to Jboss 5.0.1 as

Marek Waja do-not-reply at jboss.com
Mon Dec 27 02:04:15 EST 2010


Marek Waja [http://community.jboss.org/people/dew] created the discussion

"Migrate from Weblogic to Jboss 5.0.1 as"

To view the discussion, visit: http://community.jboss.org/message/577580#577580

--------------------------------------------------------------
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
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/577580#577580]

Start a new discussion in EJB Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2093]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20101227/336c3dc2/attachment.html 


More information about the jboss-dev-forums mailing list