*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes  Business Tier Technologies mock question? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark " Business Tier Technologies mock question?" Watch " Business Tier Technologies mock question?" New topic
Author

Business Tier Technologies mock question?

Amandeep Singh
Ranch Hand

Joined: Jul 17, 2008
Posts: 844
Which statement is true about Container Managed Persistence (CMP) and the introduction of Java Persistence API?

A. It is possible within the same application to combine EJB CMP entity beans with new EJB's utilizing Java Persistence API.
B. You are unable to combine earlier EJB CMP entity beans with newer EJB components utilizing Java Persistence API.
C. EJB CMP entity beans API is simpler but provides less features than the Java Persistence API.
D. You are required to migrate applications using EJB CMP entity beans to the Java Persistence API.

Option A is correct.
Option B is incorrect because with Java Persistence API you are able to combine earlier EJB CMP entity beans with newer EJB components utilizing Java Persistence API.
Option C is incorrect because Java Persistence API is simpler and provides more features.
Option D is incorrect because you are not required to migrate applications that utilize CMP entity beans.

How comes answer D is incorrect, if you are moving to JPA from CMP then you have to migrate but the answer says you are not required to migrate.


SCJP 1.4, SCWCD 5, SCBCD 5, OCPJWSD 5,SCEA-1, Started Assignment Part 2
My blog- http://rkydesigns.blogspot.com
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30116
    
150

Where did this question come from?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Amandeep Singh
Ranch Hand

Joined: Jul 17, 2008
Posts: 844
This is from Sun's Epractice.
Marcelo Ortega
Ranch Hand

Joined: May 31, 2005
Posts: 519

The the reason for D being incorrect is in answer A,.. CMP and JPA can co-exist, therefore there is no need to migrate.


SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCJD, SCEA/OCMJEA

Live life to an interface, not an implementation!
Amandeep Singh
Ranch Hand

Joined: Jul 17, 2008
Posts: 844
Marcelo Ortega wrote:The the reason for D being incorrect is in answer A,.. CMP and JPA can co-exist, therefore there is no need to migrate.



Option D is incorrect because you are not required to migrate applications that utilize CMP entity beans.


You are right. I forget to put stress on word 'required'
 
 
subject: Business Tier Technologies mock question?
 
Similar Threads
long post IBM.158
To Nikhil Pendharkar for IBM 287
Cleared Part I today with 79%
Mock Exam Questions
ejb3 - questions from a newbie