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?
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 ]