Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » J2EE Pattern »

Re: Business delegate

ashraf galal

2005-07-19




 
Maya "I plan to use business delegate in the middle tier between my action classes and session facades. Can I have one class which acts as a delegate and which can interface with multiple session facades ?"
 
My answer: Business delegate is implemented as helper java class.
There is no guideline that states that an enterprise component should have only one associated business delegate.
Usually a component must support a number of use cases and hence may have groups of responsibilities that if performs.
It is up to the architect to decide if the groups should be assigned to multiple business delegates or one business delegate.
 
 
Maya, "Also, can anyone send me a sample implementation of a business delegate ?"
 
My answer: You can find some implementation in the java Sun site for business delegate.
Or just search for business delegate using Google and you will finds some.
Or go to IBM developerWork site and you will find some lessons and tutorial implementing this pattern too.
 
Thanks,






Ashraf Galal
(416)804-8359



>From: Maya menon <maya_java@YAHOO.COM>
>Reply-To: An interest list for Sun Java Center J2EE Pattern Catalog <J2EEPATTERNS-INTEREST@JAVA.SUN.COM>
>To: J2EEPATTERNS-INTEREST@JAVA.SUN.COM
>Subject: Business delegate
>Date: Tue, 19 Jul 2005 11:27:24 -0700
>
>Question about business delegate.
>
>I plan to use business delegate in the middle tier between my action classes and session facades. Can I have one class which acts as a delegate and which can interface with multiple session facades ?
>
>Also, can anyone send me a sample implementation of a business delegate ?
>
>Thanks,
>
>
>---------------------------------
> Start your day with Yahoo! - make it your home page
>
>====================================================================
>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@java.sun.com
==================================================================== 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@java.sun.com From owner-j2eepatterns-interest@JAVA.SUN.COM Wed, 20 Jul 2005 00:00:05 Return-Path: Delivery-Date: Tue, 19 Jul 2005 23:59:58 -0400 Received: from [192.18.99.108] (helo=swjscmail2.java.sun.com) by mx.perfora.net with ESMTP (Nemesis), id 0MKvAI-1Dv5kU1xKP-0008BZ for java@JUNLU.COM; Tue, 19 Jul 2005 23:59:58 -0400 Received: from swjscmail1 (swjscmail1.Sun.COM [192.18.99.107]) by swjscmail2.java.sun.com (Postfix) with ESMTP id 10595210C1; Tue, 19 Jul 2005 21:51:38 -0600 (MDT) Received: from JAVA.SUN.COM by JAVA.SUN.COM (LISTSERV-TCP/IP release 1.8e) with spool id 70011604 for J2EEPATTERNS-INTEREST@JAVA.SUN.COM; Tue, 19 Jul 2005 21:45:19 -0600 X-Original-To: J2EEPATTERNS-INTEREST@JAVA.SUN.COM Delivered-To: J2EEPATTERNS-INTEREST@JAVA.SUN.COM Received: from pcsbom.patni.com (pcsbom.patni.com [203.124.139.208]) by swjscmail1.java.sun.com (Postfix) with ESMTP id 038524875 for ; Tue, 19 Jul 2005 21:45:16 -0600 (MDT) Received: from rakshak.patni.com (rakshak.patni.com [203.124.139.211]) by pcsbom.patni.com (8.13.4/8.13.4) with SMTP id j6K46B4s031765 for ; Wed, 20 Jul 2005 09:36:33 +0530 Received: from spzha1.patni.com ([192.168.0.6]) by rakshak.patni.com (SMSSMTP 4.0.0.59) with SMTP id M2005072009300719073 for ; Wed, 20 Jul 2005 09:30:07 +0530 Received: from PCP40065 ([192.168.145.74]) (authenticated bits=0) by spzha1.patni.com (8.12.11/8.12.9) with ESMTP id j6K46Xkd017127 for ; Wed, 20 Jul 2005 09:36:33 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0006_01C58D0D.9D7EEEC0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Importance: Normal X-Scanned-By: MIMEDefang 2.43 Message-ID: <000501c58cdf$83c6b2c0$4a91a8c0@patni.com> Date: Wed, 20 Jul 2005 09:30:05 +0530 Reply-To: manish.mmalhotra@patni.com Sender: An interest list for Sun Java Center J2EE Pattern Catalog From: Manish Malhotra Subject: Re: Business delegate To: J2EEPATTERNS-INTEREST@JAVA.SUN.COM In-Reply-To: <20050719182724.29462.qmail@web53503.mail.yahoo.com> Precedence: list Envelope-To: java@JUNLU.COM This is a multi-part message in MIME format... ------=_NextPart_000_0006_01C58D0D.9D7EEEC0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline No... You shud have one-one mapping of Session Facade and Delegate. regards, Manish -----Original Message----- From: An interest list for Sun Java Center J2EE Pattern Catalog [mailto:J2EEPATTERNS-INTEREST@JAVA.SUN.COM]On Behalf Of Maya menon Sent: Tuesday, July 19, 2005 11:57 PM To: J2EEPATTERNS-INTEREST@JAVA.SUN.COM Subject: Business delegate Question about business delegate. I plan to use business delegate in the middle tier between my action classes and session facades. Can I have one class which acts as a delegate and which can interface with multiple session facades ? Also, can anyone send me a sample implementation of a business delegate ? Thanks, ---------------------------------------------------------------------------- -- Start your day with Yahoo! - make it your home page ==================================================================== 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@java.sun.com http://www.patni.com World-Wide Partnerships. World-Class Solutions. _____________________________________________________________________ This e-mail message may contain proprietary, confidential or legally privileged information for the sole use of the person or entity to whom this message was originally addressed. Any review, e-transmission dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this e-mail in error kindly delete this e-mail from your records. If it appears that this mail has been forwarded to you without proper authority, please notify us immediately at netadmin@patni.com and delete this mail. _____________________________________________________________________ ==================================================================== 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@java.sun.com ------=_NextPart_000_0006_01C58D0D.9D7EEEC0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
No...
You=20 shud have one-one mapping of Session Facade and Delegate.
 
regards,
Manish
-----Original Message-----
From: An interest list for = Sun=20 Java Center J2EE Pattern Catalog=20 [mailto:J2EEPATTERNS-INTEREST@JAVA.SUN.COM]On Behalf Of Maya=20 menon
Sent: Tuesday, July 19, 2005 11:57 PM
To:=20 J2EEPATTERNS-INTEREST@JAVA.SUN.COM
Subject: Business=20 delegate

Question about business delegate.
 
I plan to use business delegate in the middle tier between my action= =20 classes and session facades. Can I have one class which acts as a delegat= e and=20 which can interface with multiple session facades ?
 
Also, can anyone send me a sample implementation of a business deleg= ate=20 ?
 
Thanks,


Start=20 your day with Yahoo! - make it your home page=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=20 Companion Site: http://www.corej2eepatterns.com J2EE BluePrints:=20 http://java.sun.com/blueprints/corej2eepatterns List Archive:=20 http://archives.java.sun.com/archives/j2eepatterns-interest.html=20 Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to=20 listserv@java.sun.com

http:/= /www.patni.com
World-Wide Partnerships. World-Class Solutions.
_____________________________________________________________________

This e-mail message may contain proprietary, confidential or legally privileged information for the sole use of the person or entity to whom this message was originally addressed. Any review, e-transmission dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this e-mail in error kindly delete this e-mail from your records. If it appears that this mail has been forwarded to you without proper authority, please notify us immediately at netadmin@patni.com and delete this mail.
_____________________________________________________________________ =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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@java.sun.com ------=_NextPart_000_0006_01C58D0D.9D7EEEC0--
©2008 junlu.com - Jax Systems, LLC, U.S.A.