ejbcode-migration

EJB 2.x to 3.x automatic migration tool


Could someone recommend me an automatic migration tool for EJB? Preferably some Eclipse plugin... Thanx!


Solution

  • Four years ago I wrote some tooling in perl. But from todays perspective I think going through the sources in a day, removing unneeded stuff and adding annotations by someone who has seen both technologies is the best.

    It is at the end not enough to just put @Stateless into a bean class that had its stateless definition in xml before - you also want to use @EJB annotations to inject other beans and most likely remove old CMP or BMP data access with JPA, which uses a different semantics etc.

    While some tooling may exist, I think best is going over the existing source with a fine comb so that you know what you are doing.