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

- Previous: Session Beans
- Next: Message Driven Beans

### Entity Beans

- The `<!DOCTYPE>` definition must be modified to point to the latest DTDs containing J2EE standard DDs, such as `ejb-jar.xml`.

- Update the `<cmp-version>` tag with the value 1.1, for all CMPs in the `ejb-jar.xml` file.

- Replace all the `<`ejb-name`>-ias-cmp.xml` files with the manually created `sun-cmp-mappings.xml` file. For more information, see http://wwws.sun.com/software/dtd/appserver/sun-cmp-mapping_1_2.dtd

- Generate `dbschema` by using the `capture-schema` utility in the Application Server installation’s bin directory and place it above `META-INF` folder for Entity beans.

- `Replace the ias-ejb-jar.xml` with the `sun-ejb.jar.xml` in Application Server.

- In Application Server 6.5, the finder's SQL was directly embedded into the `<`ejb-name`>-ias-cmp.xml`. In Application Server, mathematical expressions are used to declare the `<query-filter>` for the various finder methods.

- Previous: Session Beans
- Next: Message Driven Beans

- © 2010, Oracle Corporation and/or its affiliates