ResourceBeans are dependent, so every reference gets new bean instance.
Could you give some example? ----- Original Message ---- From: YING WANG <[email protected]> To: [email protected] Sent: Wed, October 27, 2010 4:54:34 PM Subject: actualResourceReference in ResourceBean should be a local variable in createInstance method? Does anyone know why we use the normal field variable to store the actual resource reference in ResourceBean? Considering 2 threads try to create resource bean instance at same time, there is a chance that 2 threads access the same actual reference in ResourceBean.createInstance() method. thanks in advance... Ying
