CSE MCQs :: EJB MCQs
- Which of the following annotation is used to specify or inject a dependency as ejb instance into another ejb?
- The EJB specification architecture does NOT define
- Which of the following is true?
- Which EJB container must provide an implementation of Java Naming and Directory Interface (JNDI) API to provide naming services for EJB clients and components?
- Which statement about session beans is true?
- Which case of a session bean obtains the UserTransaction object via the EJBContext using the getUserTransaction() method in EJB transaction management?
- The Spring support classes facilitate building session beans
- What happens when you pass a serialized object as an argument or return value that doesn't exist either in the Client or the Server?
- Abbreviate the term JMS?
A.
In both stateless and statefull session classes, the bean provider must write the method public void remove()
|
B.
The method << remove >> in the component interface can be accessed only by the remote clients
|
C.
The bean's handle must be provided by the client, in order to ask the EJBHome for removing a session bean
|
D.
None of the above
|