This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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: 808
    
    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
 
Have you checked out Aspose?
 
subject: EJBContext/SessionContext vs InitialContext
 
It's not a secret anymore!