File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

EJBContext/SessionContext vs InitialContext

Lucas Smith
Ranch Hand

Joined: Apr 20, 2009
Posts: 804
    
    1

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


SCJP6, SCWCD5, OCE:EJBD6.
BLOG: http://leakfromjavaheap.blogspot.com
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: EJBContext/SessionContext vs InitialContext
 
Similar Threads
mock q
operation allowed in session and entity beans
EJBContext methods
Placement of getEJBObject() method.
JMS sender (Stateless EJB) sends message even if transaction fails