• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

BMP and CMP

 
Zhixiong Pan
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

Please help to below question, and not sure if the SCEA 5 still have such question or not. Thanks.
You are writing an Enterprise Javabean to represent a Flight in a Travel agency application. One of the developers recommended that you use Bean Managed Persistence (BMP) for the EJB. What is true about BMP?

A Improves your ability to move your EJB from one Application server to another.
B Reduces your ability to move your EJB from one Application server to another.
C Improves your ability to move your EJB from one data store to another.
D Reduces your ability to move your EJB from one data store to another.
 
Remko Strating
Ranch Hand
Posts: 893
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't believe that this question will be in SCEA 5 because Bean Managed Persistence is replaced by Entities within Java 1.5, but maybe I'm wrong.
 
J J Wright
Ranch Hand
Posts: 254
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Section 4: Business Tier Technologies

Explain and contrast the following persistence strategies: container-managed persistence (CMP) BMP, JDO, JPA, ORM and using DAOs (Data Access Objects) and direct JDBC technology-based persistence under the following headings: ease of development, performance, scalability, extensibility, and security.


For CMP and BMP, read this. Specifically, sections 5.4.2.4 and 5.4.3.
 
deepak adlakha
Ranch Hand
Posts: 325
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So after reading Jonathan Aotearoa suggested link.

is D is the correct answer ?
 
J J Wright
Ranch Hand
Posts: 254
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
With the EJB 2.0 container-managed persistence approach, it is easier to migrate an entity bean to different EJB containers and to different types of persistent stores. This migration can be done without recompiling the bean.


B & D

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic