Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Seam 2.2 App on JBoss 7.1?

We have deployed our JBoss Seam 2.2 application on JBoss 5.1 with PostgreSQL as the database. It makes use of EJBs, JPA (Hibernate), JSF (Richfaces and Primefaces), Servlets, and JMS queues and topics. Recently, we've decided to migrate the platform to JBoss 7.1 to take advantage of its lower overhead, as well as to keep in step with changes in technology.

Is it possible to run Seam 2.2 applications on JBoss 7.1? I realize the Hibernate/JPA version is different, and I'm assuming the JSF version is as well. Are there ways to compensate for this? What changes to our code and configuration could I potentially have to make in order to run it on this platform?

like image 547
Shadowman Avatar asked Dec 12 '22 04:12

Shadowman


1 Answers

The short answer is yes you can migrate your Seam 2.2 app to JBoss AS 7.

The main challenge is going to be classloading because of how class loading is completely re-architected with AS 7.

Instead of me going through all the steps here I simply want to point you to the official documentation of how this was done on one of the sample apps (Seam Booking application). It provides a step-by-step guide on how you can migrate a Seam 2.x app to JBoss AS 7 and also points some of the issues you will face and how you can handle them.

The guide is located here.

Other useful references

  1. JBoss AS 7 Classloading
  2. Seam 2 JPA Example

Good luck!

like image 116
uaarkoti Avatar answered Dec 20 '22 07:12

uaarkoti