This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund 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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Reply 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
Bartender

Joined: Oct 04, 2006
Posts: 2193
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EJBContext/SessionContext vs InitialContext
 
Similar Threads
JMS sender (Stateless EJB) sends message even if transaction fails
operation allowed in session and entity beans
mock q
Placement of getEJBObject() method.
EJBContext methods