-
-
-
-
-
JNDI
Why is JNDI used.Do we have any alternative for JNDI?
-
PortableRemoteObject.narrow()
What is the purpose of the call to PortableRemoteObject.narrow()?
-
-
What is deployment descriptor
Answered by Jey on 2005-05-08 12:59:41: Deployment Descriptor is a XML document with .xml extenion. It basically descripes the deployment settings of an application or module or the component. At runtime J2EE server reads the deployment descriptor and understands it and then acts upon the component or module based the information mentioned in descriptor. For example EJB module has a deployment...
-
What is the difference between Stateful session bean and Stateless session bean
Answer posted by Mohan on 2005-05-20 08:45:36: Stateful session beans have the passivated and Active state which the Stateless bean does not have.
-
-
-
-
EJB local and home interfaces
Is there any special reason to write two interfaces in ejb(local , home interfaces ). why don't we write only one interface .
-
Deployment descriptor
Why do we require to write a deployment descriptor (ejb-jar.xml) in an xml format ? why don't we write it in a java file ?
-
-
What is the difference between optimistic locking and pessimistic locking
Answer posted by Mohan on 2005-05-21 17:20:02: Optimistic locking assumes that no one would read or change the data while changes are being by a bean Pessimistic locking would rather lock down the data so that no one can access it
-
-
-
-
EJB Interview Questions
Ans