CMP, BMP, JDO, JPA, ORM and JDBC

Can some one compare following persistence strategies: CMP, BMP, JDO, JPA, ORM and JDBC

under the following headings: ease of development, performance, scalability, extensibility, and security.

rgds janaka

Ulf Dittmer

Rancher

Posts: 42969

73

posted 8 years ago

To compare six different APIs in five categories is a far-reaching question about which whole whitepapers could be written. I doubt that you'll get an answer that's anywhere close to being as complete as you would like it to be. Can you narrow down the scope of the question? What have you found in your research so far? [ March 25, 2008: Message edited by: Ulf Dittmer ]

James Sutherland

Ranch Hand

Posts: 553

posted 8 years ago

CMP, BMP, JDO are all essentially obsolete, ORM is just a term not a spec, so you are left with JPA and JDBC.

If you have an object model, JPA is the way to go. If you just need to access a database, and don't have an object model than JDBC is the way to go.