wood burning stoves 2.0*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes EJBContext/SessionContext vs InitialContext Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "EJBContext/SessionContext vs InitialContext" Watch "EJBContext/SessionContext vs InitialContext" New topic

EJBContext/SessionContext vs InitialContext

Lucas Smith
Ranch Hand

Joined: Apr 20, 2009
Posts: 804

Are there any significant differences between them? Maybe I can use shorter bean names when I use EJBContext/SessionContext to lookup?

BLOG: http://leakfromjavaheap.blogspot.com
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
The EJBContext is the interface specifying the container-provided runtime context available to all types of enterprise Java beans.
The sub-interfaces, EntityContext, MessageDrivenContext and SessionContext, specify additional runtime context available only to particular EJB types.
Best wishes!

My free books and tutorials: http://www.slideshare.net/krizsan
GeeCON Prague 2014
subject: EJBContext/SessionContext vs InitialContext