GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Interview Questions  >  J2EE  >  EJB
Go To First  |  Previous Question  |  Next Question 
 EJB  |  Question 15 of 175    Print  
What are advantages and disadvantages of CMP and BMP

  
Total Answers and Comments: 2 Last Update: May 21, 2006   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
June 02, 2005 13:43:17   #1  
RajeshRokkam        

RE: What are advantages and disadvantages of CMP and BMP
CMP:: 
 
Advantages: 
1)Easy to develop and maintain. 
2)Relationships can be maintained between different entities. 
3)Optimization of SQL code will be done. 
4)Larger and more performance applications can be done. 
 
Disadvantages: 
 
1)Will not support for some nonJDBC data sources,i.e,CICS. 
2)Complex queries cannot be developed with EJBQL. 
 
 
BMP:: 
 
Advantages: 
1)Support for nonJDBC data sources. 
2)Complex queries can be build. 
 
Disadvantages: 
 
1)Hard to develop and maintain. 
2)We cannot maintain the relationships between different entities. 
3)Optimization of SQL code cannot be done by the container,because bean it self contains the code. 
4)Not appropriate for larger and complex applications. 
 
 

 
Is this answer useful? Yes | No
May 21, 2006 00:37:04   #2  
krishna_darl Member Since: May 2006   Contribution: 24    

RE: What are advantages and disadvantages of CMP and B...
CMP means container takes care fo all the database access code synchronization, including adding and deleting entities(records/rows in the database)BMP means you write the database access code(the JDBC statements) , for when the container tells you its time to go to the database.
 
Is this answer useful? Yes | No

 Related Questions

Latest Answer : CMP means container takes care fo all the database access code synchronization, including adding and deleting entities(records/rows in the database)BMP means you write the database access code(the JDBC statements) , for when the container tells you its ...


 Sponsored Links

 
Related Articles

SOA Disadvantages

SOA Disadvantages Service Oriented Architecture Disadvantages Applicability Service Oriented Architecture may not always be the best architectural choice because optimal utilization of SOA requires additional development and design attempts as well as infrastructure which translates into costs esc
 

The Interview Snafu

How to turn someone else’s mistake to your advantage Your dream job is about to become reality. A recruiter gave you the heads up about the perfect position at Humungous Conglomerate, Inc. You went through five interviews as well as a battery of psychological tests mandated by their HR de
 

Winning a Job Interview with a Winning Resume

Does your resume unlock your potential, take your skills to the highest level and win you the interview and the job you want now? The job market today is highly competitive and even if you think you have what it takes to get an interview you won’t get over the line without a polished, prof
 

Advantages of Using Oracle

Oracle has many advantages and features that makes it popular and thereby makes it as the largest enterprise software company. Oracle comes with new versions with new features implemented in new version while the features of earlier versions still being maintained. One important aspect is Oracle da
 

Advantages of Using SAP R/3 in comparison with other Similar Tools

ERP system takes a lead role because of some of the following reasons: Many large corporations use several different and separate information systems, often because they have merged with and/or acquired other companies with varied systems. An ERP system integrates these separate information systems
 

Advantages of Using VoiceXML In Comparison To Similar Tools

Another powerful advantage of VoiceXML is the ability for the system to re-use certain Internet structures. The vast majority of companies today use either one of two infrastructures, and these are the IVR infrastructure or the web based infrastructure. VoiceXML is powerful because it will allow
 

SOA Advantages

SOA Advantages Businesses in today’ s competitive environment are constantly faced with the challenge of having to provide more with fewer resources Businesses are constantly under pressure to deliver goods and services to the market at a faster cheaper rate and at higher quality than in
 

XML Disadvantages

XML Disadvantages The extensive markup language is the way to go for developing future web applications and it almost defines the future of web development There are no doubts about its performance in this arena However XML also has some draw backs which need to be looked at and improved upon The re
 

XML Advantages

XML Advantages There are many advantages to using XML for information exchange and they offer many benefits to the user The Extensive Markup Language uses human language which is conversable and not the language used by computers which is binary and ASCII coded XML is readable by even people who hav
 

Importance of Proper English during Job Interview

Importance of Proper English during Job Interview Your job interview is crucially important and it will determine whether or not you will get the job Depending on the type of job you re going for it is very important for you to use proper English In most cases jobs which offer higher salaries will h
 





About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape