• Post Reply Bookmark Topic Watch Topic
  • New Topic

set session context  RSS feed

 
lalitha sundaresan
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
pls can u let me know what is the purpose of setsessioncontxt method in session beans?
 
Geeta Ramasami
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
This is used to associate the bean with its environment.If the bean reference needs to be passed to some method u cannot use 'this',as the bean class doesn't implemnent the remote interface directly.So the reference of the bean will be stored in the context.U can retrieve the reference from the context and send it accross.
Regards
Geeta
 
narasimharao konjeti
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, ramasami. very good and exact answer, thanking u behalf of lalitha
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!