  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | service locator and session facade | service locator and session facade 2004-04-18 - By Guy Katz
Back not to say you should cache remote interfaces. but this does not mean you will use the same instance of bean on the server side. its up to the container implementation. you can implement a container that decides which bean to execute (with stateless beans) upon the remote method invocation on the remote interface.
-- --Original Message-- -- From: George Maggessy [mailto:gmaggess@(protected)] Sent: Saturday, April 17, 2004 10:52 AM To: J2EEPATTERNS-INTEREST@(protected) Subject: Re: service locator and session facade
I think u shouldn't be caching the remote interface. Remember that you're gonna be using always the same instance in the pool...
--- Pradeep Kumar <pradeepk@(protected)> wrote: > My service locator object caches the references to > session fa?ades (both home > and remote). If there are 2 threads (2 business delegate > objects) requesting > for the same session fa?ade's home and remote references > from the cache, will > there be any implications? > > Thanks. > > > > > > DISCLAIMER: > This message (including attachment if any) is > confidential and may be privileged. Before opening > attachments please check them for viruses and defects. > MindTree Consulting Private Limited (MindTree) will not > be responsible for any viruses or defects or any > forwarded attachments emanating either from within > MindTree or outside. If you have received this message by > mistake please notify the sender by return e-mail and > delete this message from your system. Any unauthorized > use or dissemination of this message in whole or in part > is strictly prohibited. Please note that e-mails are > susceptible to change and MindTree shall not be liable > for any improper, untimely or incomplete transmission. > > ===================================================================> Companion Site: http://www.corej2eepatterns.com > J2EE BluePrints: > http://java.sun.com/blueprints/corej2eepatterns > List Archive: > http://archives.java.sun.com/archives/j2eepatterns-interest.html > Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected)
__ ____ ____ ____ ____ ____ ______ Do you Yahoo!? Yahoo! Tax Center - File online by April 15th http://taxes.yahoo.com/filing.html
===================================================================Companion Site: http://www.corej2eepatterns.com J2EE BluePrints: http://java.sun.com/blueprints/corej2eepatterns List Archive: http://archives.java.sun.com/archives/j2eepatterns-interest.html Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected)
===================================================================Companion Site: http://www.corej2eepatterns.com J2EE BluePrints: http://java.sun.com/blueprints/corej2eepatterns List Archive: http://archives.java.sun.com/archives/j2eepatterns-interest.html Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected)
|
|
 |