  | 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-17 - By Kancharlapalli, Sridhar
Back Caching Remote for a stateful session bean is ok. But, what would u achieve caching Remote's for stateless beans. Coming to thread safety, Home objects are more like singleton's (differs from container to container) for a particular bean and container would take care of concurrency issues. In case of stateful session beans, since the instance is private to a user session so no concurrency issue's shall arise.
-Sridhar Kancharlapalli.
-- --Original Message-- -- From: Pradeep Kumar [mailto:pradeepk@(protected)] Sent: Saturday, April 17, 2004 1:21 PM To: J2EEPATTERNS-INTEREST@(protected) Subject: service locator and session facade
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)
===================================================================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)
|
|
 |