• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Jeanne Boyarsky
  • Tim Cooke
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
Bartenders:

JPilot Question Id 22

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 250
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Ranch Hand
Posts: 210
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ?
 
Willie Smits increased rainfall 25% in three years by planting trees. Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic