Deal of the Day

Home » Main » Manning Forums » 2003 » Bitter EJB

Thread: CMP vs. BMP, p. 226

Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 2 - Pages: 1 - Last Post: Aug 10, 2003 11:00 PM by: import-bot Threads: [ Previous | Next ]
import-bot

Posts: 20,296
Registered: 12/6/03
CMP vs. BMP, p. 226
Posted: Aug 9, 2003 11:00 PM
  Click to reply to this thread Reply

[Originally posted by rstinejr]

Table 7.1, "Choosing between CMP and BMP", leaves out the most egregious
limitation of CMP: you cannot use CMP if your object spans multiple tables.
CMR might take some of the sting out of this, but it still leaves your objects
tightly coupled to the underlying database schema.


import-bot

Posts: 20,296
Registered: 12/6/03
Re: CMP vs. BMP, p. 226
Posted: Aug 10, 2003 11:00 PM   in response to: import-bot in response to: import-bot
  Click to reply to this thread Reply

[Originally posted by batate]

Thanks for your comments. It is fairly limiting, especially if you don't
control the data model.


import-bot

Posts: 20,296
Registered: 12/6/03
Re: CMP vs. BMP, p. 226
Posted: Aug 10, 2003 11:00 PM   in response to: import-bot in response to: import-bot
  Click to reply to this thread Reply

[Originally posted by crazybob]

> Table 7.1, "Choosing between CMP and BMP", leaves out the most egregious
> limitation of CMP: you cannot use CMP if your object spans multiple tables.
> CMR might take some of the sting out of this, but it still leaves your objects
> tightly coupled to the underlying database schema.

Actually, the spec. does not specify this. Some containers do support it.


Legend
Gold: 300 + pts
Silver: 100 - 299 pts
Bronze: 25 - 99 pts
Manning Author
Manning Staff
Manning Developmental Editor