Migrating from JBoss AS 5.0.0.Beta3 to JBoss AS 5.0.0.CR2This guide outlines the migration that must be made on an EJB 3 module for use in AS 5.0.0.CR2. Note that deployment changes of JPA are also mentioned, but not any changes that may be required to JPA entity beans.
The current guide is a draft and will be reconsiled with previous migration guides to become an AS 4.2 to AS 5.0.0.GA migration guide.
Previous Migration Guides
Upgrade steps from AS 4.2 to AS 5.0.0.Beta3 are outlined in the ToAS5.0.0.Beta3 guide.
Enterprise Java Beans changes
- JBoss Extensions are not operable
Java Persistence API changes
- specifying a namespace in persistence.xml is now mandatory
- The persistence tag should now look like the following:
- <persistence xmlns="http://java.sun.com/xml/ns/persistence"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
version="1.0">
Comments