Stefano Mazzocchi wrote:
Ugo Cei wrote:
Il giorno 24/giu/04, alle 18:23, Stefano Mazzocchi ha scritto:
But I do think it makes sense to have general pipeline components that are able to read and write into a JCR repository anyway, but probably a Source would be better in this regard.
Hmmm, I thought you were somewhat contrary to writable sources, or did I misunderstood?
I'm talking about reading stuff out of a JCR repository.
yes, I'm not keen to writeable sources.
I don't see why there's a problem with writeable sources per se. The problem IMO comes more from the SourceWritingTransformer, which modifies the system state (by writing somewhere) as a side effect of the pipeline processing.
But writeable soures used in the business logic and/or flowscript just rock, and make it braindead easy to write data to anyone of file, cvs repo, SQL blob, etc.
Sylvain
-- Sylvain Wallez Anyware Technologies http://www.apache.org/~sylvain http://www.anyware-tech.com { XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }