• Post Reply Bookmark Topic Watch Topic
  • New Topic

stateless session bean's tie to its body guard

 
Jiang Lin
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In HFE on page 227, in reference to stateless session bean, the container says that "I will NOT tie a bean to the client's EJB object until the client gets serious and calls a business method". But one the page 228, the book also says that a stateless session bean can get a reference to its EJB object (through SessionContext") inside "ejbCreate" and "ejbRemove" method. I cannot understand how a stateless session bean can get a reference to its body guard, i.e. EJBObject, before it's tied to one yet.
 
Reid M. Pinchback
Ranch Hand
Posts: 775
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
related recent thread
 
Jiang Lin
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, Reid.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!