myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Wessendorf" <>
Subject RE: [Blog] JSF in Chains
Date Wed, 05 Jan 2005 06:20:09 GMT
Sean and BaTien,

thanks for your comments!

I just saw that David added sniplets
to his blog, that is interessting for me ;)

Sean, after I know more on chain and I need something
more... I will ask you. Thanks for that!


> -----Original Message-----
> From: Sean Schofield [] 
> 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: 

I've since implemented it and it works great.  I can give you more of
the specifics if you're interested.

> Matthias We├čendorf


View raw message