EJB%20Interview%20Questions%20and%20Answers
Question: What is the difference between JNDI context, Initial context, session context and ejb context?Answer: JNDI context: provides mechanism to lookup resources on network.Initial Context: it provides initial context to resources. Session Context:it has all the information available which is required to session bean from container. EjbContext:it contain information which is required to both session and entity bean. |
Is it helpful?
Yes
No
Most helpful rated by users:
- What are the different kinds of enterprise beans?
- What is Entity Bean?
- What is Session Bean?
- What is the difference between Container-Managed Persistent (CMP) bean and Bean-Managed Persistent(BMP)?
- What are the methods of Entity Bean?