This week's book giveaway is in the Agile and Other Processes forum. We're giving away four copies of Darcy DeClute's Scrum Master Certification Guide: The Definitive Resource for Passing the CSM and PSM Exams and have Darcy DeClute on-line! See this thread for details.
Which of the following statements about business methods in a bean class is incorrect.
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.
Correct answer was B.
why the statement at B is incorrect? And I think the statement at C is incorrect, so C should be correct answer. Since the throws statement can not include "any exceptions defined by your application", just the ones that are not runtime exception and which do not extend java.rmi.RemoteException.