• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

QNS in Ians webpage

 
Shankar Ranganathan
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I went thru the Ian's web page. In the ejb part, I saw some qns related to the performance of BMP and CMP. Is it true that CMP does not give a good performance than BMP.I saw this fact in his page.I got confused because, Sun suggests to use CMP all the time unless otherwise you have a complex queries. Kindly clarify
Rgds
Shan
 
Rufus BugleWeed
Ranch Hand
Posts: 1551
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
IMHO
This is an area where EJB goes from science to an
art.
The quality of the container is going to make
a lot of difference. The solution you get
from Oracle, Bea, IBM and JRun could vary
greatly.
I think intuitively the initial thought was BMP would beat CMP. I think real world results are
showing CMP can be very good.
 
Shankar Ranganathan
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Rufus,
thanks for the response.These are the questions in the IAN's webpage.
When should you use CMP?
(A) When performance is essential and you are storing standard data types.
(B) When performance is not essential and you are storing standard data types.
(C) When performance is essential and you are storing complex data types.
(D) When performance is not essential and you are storing complex data types.
Ans-b
2) ID - EJ002
When should you use BMP?
(A) When performance is essential and you are storing standard data types.
(B) When performance is not essential and you are storing standard data types.
(C) When performance is essential and you are storing complex data types.
(D) When performance is not essential and you are storing complex data types
Ans-a,c,d
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic