This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJBContext/SessionContext vs InitialContext

 
Lucas Smith
Ranch Hand
Posts: 808
1
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are there any significant differences between them? Maybe I can use shorter bean names when I use EJBContext/SessionContext to lookup?
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic