Xpode.com        Click here to Print this article.

Java Training: - What is the difference between JNDI context, Initial context, session context and EJB context?

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



http://
http://

Contributed by:
Shivprasad Koirala
We conduct training for Java/J2EE technologies like design patterns, J2EE, Struts, Hibernate, Spring, Rich Interface etc. and likes to write articles on the same in free time.

Resourse address on xpode.com
http://www.xpode.com/Print.aspx?Articleid=632

Click here to go on website