Online EJB quiz with 20 questions for EJB enthusiasts with some sample
questions. This online test helps you prepare for upcoming interviews,
certification tests and other entrance exams. The score displayed at the end of
EJB test helps you assess your level of preparation.
Test > E JB quiz
Here are few sample EJB test/quiz questions
Which of the following is not a life-cycle method for a Stateful Session
Which of the following regarding business methods in a bean class is
Both session bean and entity bean business business methods are always same
For Java RMI API, the argument and return types must always be legal types
The throws clause may include any exceptions defined by your application.
None of the above
Choose the incorrect statement from the following about Home methods in a
bean class for CMP (Container Managed Persistence).
The throws clause of the method may include the java.rmi.RemoteException.
Relationships must not be accessed by the method
The persistence state of the bean must not be accessed by the method
The static declaration can not be done for the method.
Click here to start EJB
Latest answer: A Message Driven Bean is a message consumer.
Message-driven beans receive JMS messages and process them. It listens to
message destination or endpoint and gets activated when a message
Latest answer: The deployment descriptor directs a deployment
tool to deploy a module or application with specific container