Could someone recommend me an automatic migration tool for EJB? Preferably some Eclipse plugin... Thanx!
Asked
Active
Viewed 1,321 times
2 Answers
1
I'd suggest using IntelliJ EJB refactoring tools: http://www.jetbrains.com/idea/webhelp/migrating-to-ejb-3-0.html

Raul
- 1,899
- 2
- 20
- 32
-
Also have a look at this thread http://stackoverflow.com/questions/10120804/are-there-any-ejb-migration-tools-available-for-migrating-ejb-2-1-toejb-3-x – Raul Nov 20 '12 at 17:33
-
This IntelliJ's refactoring sounds great. Since I'm Eclipse user, I was not aware of such possibility... Anyway, I have already performed my migration manually, but I will certainly try it out. Thanx! – Igor Nov 21 '12 at 09:48
0
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.

Heiko Rupp
- 30,426
- 13
- 82
- 119
-
Thanx for your reply. I suppose that the wisest approach would be to do migration manually... – Igor Feb 16 '11 at 13:36