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:[EMAIL PROTECTED] > Sent: Monday, January 03, 2005 10:44 PM > To: MyFaces Development > Subject: Re: [Blog] JSF in Chains > > > > Has anyone subscribed to this lists > > played with JSF(MyFaces) and Chains? > > Feedback is very welcome ;) > > Matthias, I haven't done a lot with JSF and Chains yet, but I > am hoping to. I have done some with Struts and Chains though. > > Right now I'm using commons-chain in my "service layer" to > handle business logic. I have a method called getDocument on > my ServiceFacade. The getDocument method creates an empty > document bean and puts it in the chain context. Then it > looks up the getDocument command and executes it. > > Basically I can chain several pieces of logic associated with > document population together in my chain. The specifics of > the business logic (ex. not all documents have certain > information) are stashed in the individual commands. If we > add new information to the document, we just write up a new > command and drop it in the chain. > > I've also used chain to implement transactions with my > connection pool (since I am not using EJB.) Here is a link > to my initial discussion on that: > http://www.mail-archive.com/[email protected]/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�endorf sean
