문제

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

도움이 되었습니까?

해결책

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.

다른 팁

I'd suggest using IntelliJ EJB refactoring tools: http://www.jetbrains.com/idea/webhelp/migrating-to-ejb-3-0.html

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top