Search

Migrating to Java EE 6

JBoss Developer Framework provides guides for migrating to Java EE 6 from Seam 2, Spring and Java EE 5.

Visit JBoss Migration Center for open source migration assessment tools and guides for migrating your applications from Oracle WebLogic Server, JBoss EAP4.x/AS4.x and JBoss EAP5.x/AS5.x to JBoss EAP 6.x/AS7.x.

Ok, but what migration path should I take?

Classic Seam 2 Seam 2 mixed with Java EE 6 Full out Java EE 6
Scenario You have a working application, and aren't looking to make significant changes right now. You want to start taking advantage of features of Java EE 6, such as JSF 2, Bean Validaton or JPA 2. You don't want to undertake a full migration today. You've fallen head over heels for Java EE 6, and want to migrate your application today.

You have all the features you need in Java EE 6, with a choice of HTML5, Errai, or RichFaces for the view layer. Take a look at TicketMonster to see what you can achieve!

You have all the features you need in Java EE 6, DeltaSpike etc. and are happy living on the edge.

The features you need today aren't available
Recommendation

Choose Seam 2.2 on JBoss Enterprise Application Platform 5. Subscription available, maintained until November 2016.

Choose Seam 2.3 (community download) on JBoss AS 7 or JBoss Web Framework Kit version 2.2 or greater on JBoss Enterprise Application Platform 6.

Choose Java EE 6 on JBoss Enterprise Application Platform 6 or JBoss AS 7. JBoss Developer Framework provides a good resource to learn the stack. Subscription available, maintained until June 2019

Choose Java EE 6 on JBoss Enterprise Application Platform 6 or JBoss AS 7, and add in what you need yourself. Only parts of the stack will be covered by a Red Hat subscription.

Check the JBoss Developer Framework roadmap to see if the features you need will be added. Check the DeltaSpike roadmap to see if the features you need will be added. Let us know what your priorities are!

Classic Spring Spring mixed with Java EE 6 Full out Java EE 6
Scenario You have a working application, and aren't looking to make significant changes right now. You want to start taking advantage of features of the Java EE 6 programming model, such as CDI. You don't want to undertake a full migration today. You've fallen head over heels for Java EE 6, and want to migrate your application today.

You have all the features you need in Java EE 6, with a choice of HTML5, Errai, or RichFaces for the view layer. Take a look at TicketMonster to see what you can achieve!

You have all the features you need in Java EE 6, DeltaSpike etc. and are happy living on the edge.

The features you need today aren't available
Recommendation

Choose JBoss Enterprise Application Platform 6 or JBoss AS 7 to run your application. JBoss Enterprise Application Platform 6 maintained until June 2019, Spring 3.x maintained until June 2015.

Choose Java EE 6 on JBoss Enterprise Application Platform 6 or JBoss AS 7. Migrate portions of your application to Java EE 6 using the strategy outlined in the migration guide. JBoss Enterprise Application Platform 6 maintained until June 2019, Spring 3.x maintained until June 2015.

Choose Java EE 6 on JBoss Enterprise Application Platform 6 or JBoss AS 7. JBoss Developer Framework provides a good resource to learn the stack. Subscription available, maintained until June 2019

Choose Java EE 6 on JBoss Enterprise Application Platform 6 or JBoss AS 7. Add in what you need yourself. Only parts of the stack will be covered by a Red Hat subscription.

Check the JBoss Developer Framework roadmap to see if the features you need will be added. Check the DeltaSpike roadmap to see if the features you need will be added. Let us know what your priorities are!

Java EE 5 Full out Java EE 6
Scenario You have a working application, and aren't looking to make significant changes right now. You've fallen head over heels for Java EE 6, and want to migrate your application today.
Recommendation

Java EE is backwards compatible, so your application should run on JBoss Enterprise Application Platform 6 or JBoss AS 7. Subscription available, maintained until June 2019.

Java EE 6 is a superset of Java EE 5 so choose JBoss Enterprise Application Platform 6 or JBoss AS 7. JBoss Developer Framework provides a good resource to learn the stack. Subscription available, maintained until June 2019

War Stories

We invite users of the JBoss stack to share their migration stories.

Jack Wang's migration experiences

In this entry, Jack shares his notes for upgrading applications. Before we dive in, we asked Jack a few questions....