|
From: MacMahon, M. <M.M...@em...> - 2003-11-12 11:57:28
|
Hi All, I just have a quick question regarding the use of Spring from a Stateful/Stateless session bean. If Each implementation of Spring's AbstractEnterpriseBean loads its own BeanFactory, how can I guarantee that the beans loaded from the BeanFactory are truly singleton? Shouldn't the XmlBeanFactoryLoader keep a static reference to the BeanFactory to ensure that it is loaded only once in a JVM and thus shared across all Session Bean instances in the instance pool? Am I missing something? Thanks in advance, Mark. ____________________________________________________ emuse technologies U24 Trinity Enterprise Centre, Pearse Street, Dublin 2, Ireland. Tel: +353 (0)1 6717317 Fax: +353 (0)1 6717319 website: <http://www.emusetechnologies.com/> email: in...@em... <mailto:in...@em...> ____________________________________________________ This message has been scanned for viruses using GroupShield for Exchange Server. CONFIDENTIALITY NOTICE - The information contained in this email message is intended only for confidential use of the named recipient. If the reader is not the intended recipient or the person responsible for delivering it to the recipient, you are hereby notified that you have received this communication in error and that any review, dissemination or copying of this communication is strictly prohibited. If you have received this in error, please notify the sender immediately. The information, opinions and recommendations contained herein are and must be construed solely as statements of opinion and not statements of fact. No warranty, expressed or implied, as to the accuracy, timeliness, completeness, merchantability or fitness for any particular purpose of any such recommendation or information is given or made by emuse technologies in any form or manner whatsoever. |