Java Mailing List Archive

http://www.junlu.com/

Google
Google
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
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
JSP - A mailing list about Java Server Pages specification and reference
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
Removing EJB Business Delegate

Removing EJB Business Delegate

2004-02-25       - By Arzamasov Alexey

 Back
Reply:     1     2     3     4     5     6     7     8     9  

On Thursday 26 February 2004 09:15, you wrote:
> The business delegate works in the web container even it belongs to
> business layer.
> business delegate consider as a client proxy for the enterprise component.
> business delegate has no knowledge about the entity beans at all.?
> business delegate uses a service locator to locate a session facade that
> interacts with the entity beans.
> So business delegate is the connection points between the presentation and
> the business layers of the system, also the business delegate is a helper
> java class.
> the purpose of the service locater is to hide technology specific details
> as well as platform.
> So the Clint has nothing to do with the Entity beans and the busiess
> delegate doesn?t state any thing related to the client.

Thank you for your reply!
All that you have said is correct, but the one thing is unclear for me:
If business delegate connects to session facade (a session bean) should it
then call remove() on this bean somewhen if the future?
Maybe when user closes the session explictly? But what if the user don't
closes the session? If there will be a resource leak at EJB container because
of the beans got created but never got removed?

===================================================================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)



©2008 junlu.com - Jax Systems, LLC, U.S.A.