This week's book giveaway is in the Beginning Java forum.
We're giving away four copies of Get Programming with Java (MEAP only) and have Peggy Fisher on-line!
See this thread for details.
Win a copy of Get Programming with Java (MEAP only) this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
Bartenders:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

QNS in Ians webpage  RSS feed

 
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
 
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
 
Let me tell you a story about a man named Jed. He made this tiny ad:
Programmatically Create PDF Using Free Spire.PDF with Java
https://coderanch.com/wiki/703735/Programmatically-Create-PDF-Free-Spire
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!