I would like to migrate step by step my 2.1 beans to 3.0 version. I have a plan to first migrate my session beans and deploy it to production. Is it possible/safe to mix 2.1 and 3.0? What possible issues could I encounter? I use JBoss 4.2.3 GA.
Joined: Mar 14, 2006
I've found information that container can take 2.1 and 3.0 in the same time unless they are not part of the same deployment archive.
Sorry for the late reply to this...I just came back from vacation.
Porting from EJB 2.1 to EJB 3.0 is quite smooth because EJB 3.0 containers are 100% backwards compatible. For further coverage, please check out the migration chapter in EJB 3 in Action. We talk about these issues in fairly good detail.
Hope it helps,
Independent Consultant — Author, EJB 3 in Action — Expert Group Member, Java EE 6 and EJB 3.1