I think they are talking about the EJBHomeFactory pattern as shown at http://java.sun.com/blueprints/patterns/ServiceLocator.html
Brian McSweeney wrote: Hi all, my app is fronended with struts, using local beans.The local beans use stateless session facades asa frontend. In a book discussing struts there is a chapter onusing entity beans which describes how it is a goodidea to cache the ejb refs in application scope.The idea is, that it takes alot of time to create theJNDI initial context etc. They suggest using a ServletContextListener tocache the ejb refs to the stateless session beansonce the application starts up. Anyone have any opinions on this? cheers,Brian -- ************************************************************************** This message is intended for the named recipient only and is confidential and no other person can place any reliance upon it. The recipient acknowledges that transmissions made via the Internet can be corrupted and therefore Chase de Vere Financial Solutions plc does not give any warranty as to the quality or accuracy of any information contained in this message or assumes any liability for it or for its transmission, reception or storage. This footnote also confirms that this e-mail message has been swept for the presence of computer viruses. Chase de Vere Financial Solutions plc is authorised and regulated by the Financial Services Authority and is an independent financial adviser. ************************************************************************** |
- [JBoss-user] Should I cache ejbRefs? Brian McSweeney
- Re: [JBoss-user] Should I cache ejbRefs? DavidNeuer
- Re: [JBoss-user] Should I cache ejbRefs? Brian McSweeney
- Re: [JBoss-user] Should I cache ejbRefs? Brian Wallis
- Re: [JBoss-user] Should I cache ejbRefs? DavidNeuer
- Lawrence Mount