• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB question ... i dont agree with the answer !

 
Lee Ozbun
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I came across this question in one of the mock exams, i dont quite agree with the answer.Please give me ur inputs...
Its pretty sad that i could loose marks in such places..
QUESTION :
When writing an entity EJB, you'll need:
POSSIBLE ANSWERS:
* A bean class
* A primary key class
* A persistence class
* A home/local home interface
* A remote/local interface
The answer is a,b,d,e.

It is not mandatory to have a primary key class for an entity bean ?? it can string,Integer ??
 
Rufus BugleWeed
Ranch Hand
Posts: 1551
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
String and Integer are classes.
 
noel angel
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The actual test tells you the number of correct answers. If you were given the fact that there was 4 correct answers would you have gotten the correct answer? Yes, a key class is required. THis question is from the Allen & Bambera book. J2EE - Sun Certified Enetrprise Architect and appears on their practice test(s) from the CD included in the book.
Noel
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic