Jump To Close Expand all Collapse all Table of contents Migration Guide 1. Introduction Expand section "1. Introduction" Collapse section "1. Introduction" 1.1. About Red Hat JBoss Enterprise Application Platform 6 1.2. About the Migration Guide 2. Prepare for Migration Expand section "2. Prepare for Migration" Collapse section "2. Prepare for Migration" 2.1. Prepare for Migration 2.2. Review What's New and Different in JBoss EAP 6 2.3. Review The List of Deprecated and Unsupported Features 3. Migrate Your Application Expand section "3. Migrate Your Application" Collapse section "3. Migrate Your Application" 3.1. Changes Required by Most Applications Expand section "3.1. Changes Required by Most Applications" Collapse section "3.1. Changes Required by Most Applications" 3.1.1. Review Changes Required by Most Applications 3.1.2. Class Loading Changes 3.1.3. Configuration File Changes 3.1.4. Logging Changes 3.1.5. Application Packaging Changes 3.1.6. Datasource and Resource Adapter Configuration Changes 3.1.7. Security Changes 3.1.8. JNDI Changes 3.2. Changes Dependent on Your Application Architecture and Components Expand section "3.2. Changes Dependent on Your Application Architecture and Components" Collapse section "3.2. Changes Dependent on Your Application Architecture and Components" 3.2.1. Review Changes Dependent on Your Application Architecture and Components 3.2.2. Hibernate and JPA Changes 3.2.3. JSF changes 3.2.4. Web Services Changes 3.2.5. JAX-RS and RESTEasy Changes 3.2.6. LDAP Security Realm Changes 3.2.7. HornetQ Changes 3.2.8. Clustering Changes 3.2.9. Service-style Deployment Changes 3.2.10. Remote Invocation Changes 3.2.11. EJB 2.x Changes 3.2.12. JBoss AOP Changes 3.2.13. Migrate Seam 2.2 Applications 3.2.14. Migrate Spring Applications 3.2.15. Other Changes That Affect Migration 4. Tools and Tips Expand section "4. Tools and Tips" Collapse section "4. Tools and Tips" 4.1. Resources to Assist With Migration Expand section "4.1. Resources to Assist With Migration" Collapse section "4.1. Resources to Assist With Migration" 4.1.1. Resources to Assist in Your Migration 4.1.2. Become Familiar with Tools That Can Assist with the Migration 4.1.3. Use Tattletale to Find Application Dependencies 4.1.4. Download and Install Tattletale 4.1.5. Create and Review the Tattletale Report 4.1.6. Use the IronJacamar Tool to Migrate Datasource and Resource Adapter Configurations 4.1.7. Download and Install the IronJacamar Migration Tool 4.1.8. Use the IronJacamar Migration Tool to Convert a Datasource Configuration File 4.1.9. Use the IronJacamar Migration Tool to Convert a Resource Adapter Configuration File 4.2. Debug Migration Issues Expand section "4.2. Debug Migration Issues" Collapse section "4.2. Debug Migration Issues" 4.2.1. Debug and Resolve Migration Issues 4.2.2. Debug and Resolve ClassNotFoundExceptions and NoClassDefFoundErrors 4.2.3. Find the JBoss Module Dependency 4.2.4. Find the JAR in the Previous Install 4.2.5. Debug and Resolve ClassCastExceptions 4.2.6. Debug and Resolve DuplicateServiceExceptions 4.2.7. Debug and Resolve JBoss Seam Debug Page Errors 4.3. Review Migration of Example Applications Expand section "4.3. Review Migration of Example Applications" Collapse section "4.3. Review Migration of Example Applications" 4.3.1. Review Migration of Example Applications 4.3.2. Migrate the Seam 2.2 JPA Example to JBoss EAP 6 4.3.3. Migrate the Seam 2.2 Booking Example to JBoss EAP 6 4.3.4. Migrate the Seam 2.2 Booking Archive to JBoss EAP 6: Step-By-Step Instructions 4.3.5. Build and Deploy the JBoss EAP 5.X Version of the Seam 2.2 Booking Application 4.3.6. Debug and Resolve Seam 2.2 Booking Archive Deployment Errors and Exceptions 4.3.7. Debug and Resolve Seam 2.2 Booking Archive Runtime Errors and Exceptions 4.3.8. Review a Summary of the Changes Made When Migrating the Seam 2.2 Booking Application A. Revision History Legal Notice Settings Close Language: 日本語 简体中文 Español Português Français English Language: 日本語 简体中文 Español Português Français English Format: Multi-page Single-page PDF Format: Multi-page Single-page PDF Language and Page Formatting Options Language: 日本語 简体中文 Español Português Français English Language: 日本語 简体中文 Español Português Français English Format: Multi-page Single-page PDF Format: Multi-page Single-page PDF 3.2.2. Hibernate and JPA Changes 3.2.2.1. Update Applications That Use Hibernate and/or JPASummary If your application uses Hibernate or JPA, read through the following sections and make any changes necessary to migrate to JBoss EAP 6. Section 3.2.2.2, “Configure Changes for Applications That Use Hibernate and JPA” Section 3.2.2.4, “Update Your Hibernate 3 Application to Use Hibernate 4” Section 3.2.2.9, “Update Your Application to Conform to the JPA 2.0 Specification” Section 3.2.2.10, “Replace JPA/Hibernate Second Level Cache with Infinispan” Section 3.2.2.12, “Migrate to Hibernate Validator 4” Report a bug Previous Next