Migrate the Oracle WebLogic Server weblogic-application.xml Descriptor File Configurations to JBoss Enterprise Application Platform 6 or 7

Updated -

Summary

The weblogic-application.xml deployment descriptor file is used to describe Oracle WebLogic Server EAR archives. While there is no direct mapping of these descriptor elements, many of these features may be configured in standard Java EE files. The following example shows how to map a few common elements.

Map weblogic-application.xml Elements

The table below provides examples of how to map elements in a weblogic-application.xml file to the equivalent in standard Java EE descriptor files.

WebLogic weblogic-application.xml Element JBoss Equivalent
<application-param> element:

<application-param>
    <description>
        Web application default encoding
    </description>
    <param-name>
        webapp.encoding.default
    </param-name>
    <param-value>
        UTF8
    </param-value>
</application-param>
Maps to the web.xml <context-param> element:

<context-param>
    <description>
        Web application default encoding
    </description>
    <param-name>
        webapp.encoding.default
    </param-name>
    <param-value>
        UTF8
    </param-value>
</context-param>

For more information on how to configure the JBoss server, see the Administration and Configuration Guide for Red Hat JBoss Enterprise Application Platform 6 or 7.