First page Back Continue Last page Graphics
BMP vs. CMP...
Understanding the difference:
- In both cases, container controls the "when"
- With BMP, bean controls the "how"
In BMP the bean must explicitly:
- Hold state data in instance variables
- Load and save data for existing instance
- Insert new data for new instance
- Delete removed instance
- Implement find*( ) methods
Notes: