This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Relationship between CMP and BMP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Relationship between CMP and BMP" Watch "Relationship between CMP and BMP" New topic

Relationship between CMP and BMP

karen obrien

Joined: Apr 01, 2002
Posts: 8
I have a client(CMP) that can have multiple accounts(BMP), and I would like to know the optimal method of implementing this relationship?
a) Can I use CMR even if one of the beans is BMP?
b) Do I have to use straight JDBC calls?
Many thanks for all your help
HanMing Low
Ranch Hand

Joined: Oct 18, 2001
Posts: 196
For a), nope you can't.
As for b), I'm sorry I don't quite get your question.

Han Ming
I agree. Here's the link:
subject: Relationship between CMP and BMP
It's not a secret anymore!