Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JPilot Question Id 22

 
yogen joshi
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am not sure if this has been discussed previously,
Question id 22 from JPilot Exam,

Which are true about session beans?

A. A client can pass a remote home object reference to another application.

B.The javax.ejb.EJBMetaData interface is intended to allow application assembly tools to discover information about the session bean, and to allow loose client/server binding and client-side scripting

C.The javax.ejb.EJBLocalHome interface defines the method create() which returns javax.ejb.EJBLocalObject.

D.The javax.ejb.EJBLocalHome interface defines the method remove(Object primaryKey) which returns null.Which are true about session beans?

The correct answer given is A, B, C.

I did not understand why C is one of the correct choice? EJBLocalHome does not define a creat() method.
Can anyone please clarify this.
Thanks a lot.
Yogen
 
sawan parihar
Ranch Hand
Posts: 250
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The javax.ejb.EJBLocalHome interface defines the method create() which returns javax.ejb.EJBLocalObject



This is not correct.
 
yogen joshi
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Sawan, So it means A, B & D are the correct answers.
Yogen
 
sawan parihar
Ranch Hand
Posts: 250
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So it means A, B & D are the correct answers


D is not correct as the question is regarding session beans and session beans don't have primary key.


hope it helps.
[ July 16, 2005: Message edited by: sawan parihar ]
 
Jim Janssens
Ranch Hand
Posts: 210
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So basicly there is a mistake in the exam for JPilot and A and B are the only correct answers ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic