Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Migrating Old BMP EJB 1.1 to EJB 2.1 Question  RSS feed

 
Rusty Enisin
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't want to hurt anybody's brain or bring back painful memories, but I have a question on the difference between old EJB versions.

I have been asked to migrate a legacy application using EJB 1.1 to EJB 2.1. I am familiar with EJB 2.1 CMPs. However, I have not used the older EJB 1.1. Additionally the legacy application uses BMPs (another thing in which I have no experience). My client would like to still use BMPs in the "new" version.

I have looked through all kinds of documentation and specifications. It looks like as far as BMPs are concerned there is no difference. In EJB 2.0 and 2.1 they just added more CMP support.

As best I can tell the old 1.1 BMP EJBs should work as is in 2.1. This conclusion worries me. I fear I am missing something.

Does anybody out there have some experience or deeper knowledge in this subject? I could really use some help.
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 37230
519
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rusty,
Why would you upgrade the BMPs? You can run older EJB modules on a newer server unchanged. Everything changes again with EJB 3 and BMPs go away entirely. If they want to change something, they should change the BMPs to Hibernate so they are better positioned for the future.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!