Re: <strong>holding the reference of stateful session bean</strong>
Posted By:
neeraj_pandey
Posted On:
Thursday, October 10, 2002 05:35 AM
You don't have code to any thing explictly for referring to the same bean instance. It is automatically handled by the container.
Just once lookup the bean,create the EJBObject and use the ame name.
You can see any sample example which comes with the application server.
Re: <strong>holding the reference of stateful session bean</strong>
Posted By:
jaivir_singh
Posted On:
Thursday, October 10, 2002 03:19 AM
The reference is associated to a client on its own , so you do not have to store it in session.Each time the client wants to interact with the SFSB , it should use the same reference every time.
The client will be able to communicate with the bean as long as the bean is not removed by him , or bean timeout doesent occus , which ever is earlier .
cheers
Jaivir