Title: RE: [JBoss-user] jndi / jboss question
When you create an initial context are you supposed to close it as soon as
you're done?  I've seen several books say you are supposed to.  However,
a lot of places I see create the initial context in the init method and do
not close it.
 
 
JBoss Part:
 
If I create the InitialContext and don't close it my cluster seems to load balance
properly, but if I create the InitialContext, access the bean, do my work and
then close the context every time it seems like I always, no matter how much
load, go to the same machine.
 
Can anyone spread some light on this for me?
 
Thanks,
Jason

Reply via email to