Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Upgrade and Migration Guide

- Previous: Migrating the Bean Class
- Next: Custom Finder Methods

## Migration of ejb-jar.xml

To migrate the file `ejb-jar.xml` to Sun Java System Application Server 8.1, perform the following steps:

### To Migrate the EJB Deployment Descriptor

To migrate the EJB deployment descriptor file, `ejb-jar.xml`, edit the file and make the following changes.

##### Steps

1. Convert all `<cmp-fields>` to lowercase.

2. Insert the tag `<abstract-schema-name>` after the `<reentrant>` tag.

   The schema name will be the name of the bean as in the `< ejb-name>` tag, prefixed with “ias_”.

3. Insert the following tags after the `<primkey-field>` tag:

       <security-identity>
          <use-caller-identity/>
       </security-identity>

4. Use the SQL obtained above to construct the EJB QL from SQL.

5. Insert the `<query>` tag and all its nested child tags with all the required information just after the `<security-identity>` tag.

- Previous: Migrating the Bean Class
- Next: Custom Finder Methods

- © 2010, Oracle Corporation and/or its affiliates