Wednesday, October 18, 2017

Seam 2.x over JEE 7 (Is it Possible)?

Hello all...
I am back!

For  a long time I could not write here because I am working on some particular projects.

A lot of friends are asking me about Seam 2.x into JEE 7 container, like JBoss EAP 7 or Wildfly 8, 9 or 10/11.

I am so confused about this because Seam was created for helping developers to solve issues over JEE 5 / 6 (it is a mistake in my opinion...CDI is a better choice to be used with deltaspike than Seam).

So, is it possible to use Seam 2.x projects on JEE 7?
NO!! It is impossible without a lot and lot of work...It is necessary to change many things into your java code. Libraries are not compatible (seam annotation, mojarra/jsf and so on...).

If you are trying to migrate Seam projects to JBoss EAP 7 directly, it can be a nightmare!

In some situations it is more responsible to write a new application approach using CDI, spring boot or microservices as such WS Rest Services (using TI Bimodal concepts). IMHO it is a good choice to create a new code, removing Seam, and of course reviewing the container dependencies to use microservices into a BiModal approach.

I suggest to create a migration process, planning, measuring, removing Seam libraries step by step. Web Services for instance can be separated into microservices. 

So, migrating Seam projects to EAP 7 could be a hard work, but it must be done with a proof of concepts first, planning, evaluating issues and differences between CDI and Seam approach. The price to convert your Seam project for working into JEE 7 can be high (lot lot and lot necessary time of work).