We are beginning an upgrade from H2.7+JBoss3.2.7 to H3.1+JBoss4.0, and I'd like to run our approach by people. If it works out, we'll document it on the wiki.
One issue is that we're using XDoclet 1.x and will be switching to Annotations.
Our plan is:
Code:
1) Upgrade to Java 5 (to leverage annotations)
2) Upgrade Hibernate to the 3.1 jar
3) Fix the compile errors
we will leave the XDoclet task alone for a while, and let it generate bad .hbm.xml files
4) Upgrade to JBoss 4.0
5) Start JBoss and verify that other than the inability to load some/all Hibernate mappings, due to the outdated XDoclet generation, it starts.
6) Convert the XDoclet mappings to annotations.
Is there a tool to offer EJB/Hibernate 3.1 code completions in Eclipse?
If anyone has a better sequence of migration steps, gotchas or helpful tools, please let us know.