posted 19 years ago
Hi,
I am wondering about the cases when we should use BMP and when CMP. I know CMP is maintained by container, we have to write less code.
Could it be that we should use CMP because :
- Persistence which means synchronizing the state of fields in Bean with the corresponding table fields in database, in CMP it is maintained by Container, whereas for BMP it is not.
Also Can anyone tell me how the join relationship for say 2 or more tables is implemented in CMP beans.