Java Training: – Differences 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

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s