Return-Path: Delivered-To: apmail-incubator-myfaces-dev-archive@www.apache.org Received: (qmail 24288 invoked from network); 5 Jan 2005 06:21:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 5 Jan 2005 06:21:04 -0000 Received: (qmail 91637 invoked by uid 500); 5 Jan 2005 06:21:03 -0000 Delivered-To: apmail-incubator-myfaces-dev-archive@incubator.apache.org Received: (qmail 91596 invoked by uid 500); 5 Jan 2005 06:21:02 -0000 Mailing-List: contact myfaces-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list myfaces-dev@incubator.apache.org Received: (qmail 91579 invoked by uid 99); 5 Jan 2005 06:21:02 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from moutng.kundenserver.de (HELO moutng.kundenserver.de) (212.227.126.191) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 04 Jan 2005 22:20:58 -0800 Received: from [212.227.126.161] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1Cm4XP-0004LR-00; Wed, 05 Jan 2005 07:20:55 +0100 Received: from [217.255.8.206] (helo=fumakilla) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1Cm4XP-0002ff-00; Wed, 05 Jan 2005 07:20:55 +0100 From: "Matthias Wessendorf" To: "'MyFaces Development'" , "'Sean Schofield'" Subject: RE: [Blog] JSF in Chains Date: Wed, 5 Jan 2005 07:20:09 +0100 Message-ID: <002201c4f2ee$9beceb70$6402a8c0@fumakilla> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: <2387fbc5050103134463e1189b@mail.gmail.com> Importance: Normal X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:157ed430dbf2887568e54eb61bfb58ed X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Sean and BaTien, thanks for your comments! I just saw that David added sniplets to his blog, that is interessting for me ;) http://jroller.com/page/dgeary Sean, after I know more on chain and I need something more... I will ask you. Thanks for that! Regards, Matthias > -----Original Message----- > From: Sean Schofield [mailto:sean.schofield@gmail.com]=20 > Sent: Monday, January 03, 2005 10:44 PM > To: MyFaces Development > Subject: Re: [Blog] JSF in Chains >=20 >=20 > > Has anyone subscribed to this lists > > played with JSF(MyFaces) and Chains? > > Feedback is very welcome ;) >=20 > Matthias, I haven't done a lot with JSF and Chains yet, but I=20 > am hoping to. I have done some with Struts and Chains though. >=20 > Right now I'm using commons-chain in my "service layer" to=20 > handle business logic. I have a method called getDocument on=20 > my ServiceFacade. The getDocument method creates an empty=20 > document bean and puts it in the chain context. Then it=20 > looks up the getDocument command and executes it. >=20 > Basically I can chain several pieces of logic associated with=20 > document population together in my chain. The specifics of=20 > the business logic (ex. not all documents have certain=20 > information) are stashed in the individual commands. If we=20 > add new information to the document, we just write up a new=20 > command and drop it in the chain. >=20 > I've also used chain to implement transactions with my=20 > connection pool (since I am not using EJB.) Here is a link=20 > to my initial discussion on that:=20 > http://www.mail-archive.com/user@struts.apache.org/msg12423.ht ml I've since implemented it and it works great. I can give you more of the specifics if you're interested. > Matthias We=DFendorf sean