Monday, February 25, 2002 10:58 PM
I have a Stateless Session Bean that acts as a facade to 2 entity beans. Also it needs to talk to 2 other session beans.
I want to preserve the home handle in case of the entity beans and the remote stub in case of Session Bean so that I do not have to do ...jndiContext.lookup() again and again.
Is it appropriate to do so ? If yes, how should I preserve these objects
1. populating them statically
2. using Singleton
3. making them member variables
Re: Session Facade
Tuesday, February 26, 2002 04:58 AM