> 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.html

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

Reply via email to