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.
Online Practice
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
Bean?
Post Construction
Pre Destruction
Post Activation
Pre Construction
Which of the following regarding business methods in a bean class is
incorrect?
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
quiz/test
More Links
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
arrives.............
What
is Deployment descriptor?
Latest answer: The deployment descriptor directs a deployment
tool to deploy a module or application with specific container
options..............
|