• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

get a reference to EJBObject in stateless session bean

 
Yi Si
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In "Object Interaction Diagram(OID) for bean creation of stateless session bean", I found creation of EJB object and creation of bean instance at a completely different/unrelated time. The client can call create all day long, but container will not tie a bean to the client's EJB object until the client calls a business method. BBBBut sepc. say I can get a reference to EJB object in ejbCreate()/ejbRemove(), why??? When container call ejbCreate(), maybe EJB object have not been created(they create at a unrelated time).
Can somebody explain this?
[ March 04, 2004: Message edited by: si yi ]
 
Sudhir V
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Read this thread
http://www.coderanch.com/t/158485/java-EJB-SCBCD/certification/beanness-stateless-session-bean
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic