aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Migration to 3.0 & mixing with 2.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Migration to 3.0 & mixing with 2.1" Watch "Migration to 3.0 & mixing with 2.1" New topic
Author

Migration to 3.0 & mixing with 2.1

Michal Glowacki
Ranch Hand

Joined: Mar 14, 2006
Posts: 114
hi all,

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.

Michal
Michal Glowacki
Ranch Hand

Joined: Mar 14, 2006
Posts: 114
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.

Can anybody confirm this? No issues anyway?
Reza Rahman
author
Ranch Hand

Joined: Feb 01, 2005
Posts: 580
    
    5
Mr. Glowacki,

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Migration to 3.0 & mixing with 2.1