Java Training: - Show differences between JNDI context, Initial context, session context and EJB context?

Published on by javainterviewseries

JNDI context

JNDI Context Provides a mechanism to lookup resources on the network

 

Initial context

Initial Context constructor provides the initial context.

 

Session context

Session Context has all the information a session bean would require from the container

 

Entity Context

Entity Context has all the information that an Entity bean would need from a container

 

EJB context

EJB Context contains the information that is common to both the session and entity bean

 

See the following video on EJB (Enterprise Java Beans): -

 

 

Click to get Java Training

 

Regards,

 

Get more Java Training from author’s blog

To be informed of the latest articles, subscribe:
Comment on this post