Show Table of Contents
4.3.4. Migrate the Seam 2.2 Booking Archive to JBoss Enterprise Application 6: Step-By-Step Instructions
This is a step-by-step guide on how to port the Seam 2.2 Booking application archive from JBoss Enterprise Application Platform 5.1 to JBoss Enterprise Application Platform 6. Although there are better approaches for migrating applications, many developers might be tempted to deploy the application archive as-is to the JBoss Enterprise Application Platform 6 server to see what happens. The purpose of this document is to show the types of issues you might encounter when you do that and how you can debug and resolve those issues.
For this example, the application EAR is deployed to the
EAP6_HOME/standalone/deploymentsdirectory with no changes other than extracting the archives. This allows you to easily modify the XML files contained within the archives as you encounter and resolve issues.
Applications that use Hibernate directly with Seam 2.2 may use a version of Hibernate 3 packaged inside the application. Hibernate 4, which is provided through the org.hibernate module of JBoss Enterprise Application Platform 6, is not supported by Seam 2.2. This example is intended to help you get your application running on JBoss Enterprise Application Platform 6 as a first step. Please be aware that packaging Hibernate 3 with a Seam 2.2 application is not a supported configuration.
Procedure 4.14. Migrate the application
At this point you are able to successfully access the application in a browser using the URL http://localhost:8080/seam-booking/. Login with demo/demo and you see the Booking welcome page.
Review the summary of changes