Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes 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