Forums Register Login

JPilot Question Id 22

+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
 

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




This is not correct.
+Pie Number of slices to send: Send
Thanks Sawan, So it means A, B & D are the correct answers.
Yogen
+Pie Number of slices to send: Send
 

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 ]
+Pie Number of slices to send: Send
So basicly there is a mistake in the exam for JPilot and A and B are the only correct answers ?
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 653 times.
Similar Threads
JPilot,, Java ranch exam question ID: 17
mock exam
JPilot Mock Exam Question - Help Needed!
Mock Questions
mock exam - session beans
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 05:08:06.