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

get another bean's reference

 
Yi Si
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know bean not get another bean reference in setSessionContext() of session bean ,but this just a rule in spec. I want to know the stuff, in other words if a bean can do it it must in what context.
Can someone can explain?
 
Sudhir V
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See Table 2 Pg 80 and Table 3 Pg 90 of EJB Spec. These tables list the methods in the session bean class and the things which can be done in those methods. Wherever it says "Enterprise bean access" it means you can access other beans from those methods.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic