• 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

need help on mock question

 
Ranch Hand
Posts: 270
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
CQ1. Which of the following statements about business methods in a bean class is incorrect [choose 1]:
A. The signature requirements for business methods are always the same for both session and entity beans.
B. The argument and return types must always be legal types for the Java RMI API.
C. The throws clause may include any exceptions defined by your application.
D. A business method should always throw the javax.ejb.EJBException to indicate a system-level problem.
The answer given is B, but i think A should also be one of the answers coz business method names in entity bean home interface do have different requirements. They cannot start with ejb, find, create whereas for all business method in component interface are only required not to start with ejb. right?
 
Ranch Hand
Posts: 390
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
B. is wrong because the arguements and return types should be legal types of java RMI-IIOP; so the only correct answer is A.
 
Yi Meng
Ranch Hand
Posts: 270
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Anselm Paulinus:
B. is wrong because the arguements and return types should be legal types of java RMI-IIOP; so the only correct answer is A.


hihi, it's selecting INCORRECT answers....B is wrong, but i mean A is also wrong.....
[ December 24, 2003: Message edited by: Yi Meng ]
 
Bartender
Posts: 1872
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Yi,

but i think A should also be one of the answers coz business method names in entity bean home interface do have different requirements.


The Home declares "home business methods", which are not included in the question scope IMO.
Regards,
Phil.
 
Yi Meng
Ranch Hand
Posts: 270
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Philippe Maquet:
Hi Yi,

The Home declares "home business methods", which are not included in the question scope IMO.
Regards,
Phil.


Then here comes the question that what are "business methods" in genral in a question......
 
Philippe Maquet
Bartender
Posts: 1872
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Yi,
"business methods" are the ones you declare in your component interface.
Now I agree with you that the question is ambiguous. I just tried to justify *why* the correct answer is the one it is. But be reassured : real questions on the real SCBCD exam are *not* ambiguous (or far less ), and don't play with the words like this.
Best,
Phil.
[ December 25, 2003: Message edited by: Philippe Maquet ]
 
Yi Meng
Ranch Hand
Posts: 270
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks
i should not have cared all this, but you know how i felt at the time when i did my first 4 mock questions and got 2 of them wrong....
 
You guys wanna see my fabulous new place? Or do you wanna look at this tiny ad?
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic