You are building a Java EE Stateless Session Bean with remote interfaces which you also would like to expose as a web service. Which of the following is false?

  1. When EJB is called by client, parameters will be passed by reference

  2. Methods must have RMI-IIOP compatible parameters and return types

  3. Methods must have JAXB compatible parameters and return types

  4. Use annotation @WebService and @WebMethod for deployment.


Correct Option: A

Find more quizzes: