• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

BMP or CMP.

 
Tristan Zeta
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Xie Ruchang
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Tristan.
Welcome to the ranch!
SCEA Part 1 is EJB 1.1 --> CMP poor performance
1. Performance is crucial, accessing standard data types. BMP
2. Performance is crucial, accessing complex data types. BMP
3. Performance is not crucial, accessing standard data types. CMP
4. Performance is not crucial, accessing complex data types. BMP
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. Yes for the sake of this exam
However which answer is sun expected in this question? follow EJB 1.1
Best Regards
[ May 05, 2004: Message edited by: Frankie Cha ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic