BMP or CMP.
I've been confused about the problem about using BMP or CMP when no explicit
EJB version specified in the question. Normally there are 2 aspects involved, performance and data types.
So, when should we use BMP as for the following choices?
1. Performance is crucial, accessing standard data types.
2. Performance is crucial, accessing complex data types.
3. Performance is not crucial, accessing standard data types.
4. Performance is not crucial, accessing complex data types.
It is for sure that application servers can provide more efficient SQL generation for persistence since upgrade from EJB 1.1 to EJB 2.0.
However which answer is sun expected in this question?