File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes CMP  portability Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "CMP  portability" Watch "CMP  portability" New topic

CMP portability

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1371
My CMP Bean Mapped with the Oracle DB. If i do any DB portability from Oracle to some other DB, can i do any change in the CMP code/deployment decriptors ? (Other than new Data Source creation for new DB.)
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

CMP only tends to contain a lot of Application Server specific deployment configuration, so changing from one DB to another should not be too big an issue (this is after all partly what Entity Beans are for). It is changing from one Application Server to another that is the real headache.

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
I agree. Here's the link:
subject: CMP portability
Similar Threads
CMP/Database vs SQL/Database
Persistence : Portability
How to know if any of the CMP fileds are modified ?
How to call database stored procedures using EJB ??