Originally posted by Vish Kumar:
My answer would be D.
In EJB2.0, CMP performance is better than the BMP performance.
But Complex data types may not be possible with CMP entity beans.
So I would use BMP to store complex datatypes, where performance is not a essential criteria.
Why should CMP performance be better than the BMP performance with EJB 2.0? Actually I would generally expect BMP performance to be better, since it hasn't the overhead of the container. Further I don't see any reference to performance of persistence, either BMP or CMP, in the EJB 2.0 spec.
I think A, C and D were the right answers.