This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes HFEJB - Wrong answer?? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Reply Bookmark "HFEJB - Wrong answer??" Watch "HFEJB - Wrong answer??" New topic
Author

HFEJB - Wrong answer??

Mahesh Subramanian
Greenhorn

Joined: Feb 25, 2006
Posts: 6
I am almost convinced this answer is wrong. Can anybody justify it as right?

Page 672, Question 46:
What's true about an entity bean's primary key?
A. Primary key fields must be cmp-fields.
...
...

I had checked this answer, but book says it is not because "you can use a compound key". But even with compound keys, the fields must still be cmp-fields right?
Greg Charles
Bartender

Joined: Oct 01, 2001
Posts: 2542
    
  10

Right. My book lists A as one of the right answers for that question. Are you saying that yours doesn't?
Mahesh Subramanian
Greenhorn

Joined: Feb 25, 2006
Posts: 6
No mine doesn't!! I am surprised because the book is of excellent quality otherwise.

SCJP, SCBCD, OCP
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14672
    
  11

This is in the unconfirmed errata:
http://www.oreilly.com/catalog/hfjejb/errata/hfjejb.unconfirmed


[My Blog]
All roads lead to JavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HFEJB - Wrong answer??
 
Similar Threads
Primary Key Class - Public field or public getter/setter ?
HFEJB question 46 from mock exam
Coffee cram No. 46
Compound Primary Key
Compound Primary key