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.
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,
Reza
Independent Consultant — Author, EJB 3 in Action — Expert Group Member, Java EE 6 and EJB 3.1
When it is used for evil, then watch out! When it is used for good, then things are much nicer. Like this tiny ad:
a bit of art, as a gift, the permaculture playing cards