cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Laurent Comte" <>
Subject RE: Cocoon as a DataMapper framework
Date Mon, 24 Feb 2003 14:12:43 GMT
Hi Luca,

I'm writing a web-application (servlets + POJO) that use Cocoon for 
presentation, so my application is Controller+Model, and Cocoon is 
View (plus Controller if I need), MVC model speaking.

My application generate data (response) in XML, and then I forward
the original request using "/view" alias, pointing to the main 
Cocoon servlet. AFAK, i's a servlet, so you can call it like another
one ...


-----Message d'origine-----
De : Luca Zago []
Envoye : lundi 24 fevrier 2003 14:27
A :
Objet : Cocoon as a DataMapper framework

I was thinking about a data mapper framework, a framework which can take 
data from a source and write to another destination. An application 
scenario could be taking an xml somewhere (XML DB, HTML forms) and then 
writing it to a traget XML or even Relational DB.
Then I was thinking why not to use cocoon to do it.
I had some doubts, the nice thing could be that I write mainly the xml 
files for transformation and the pipelines, and then the framework works 
for me, my doubts are that coccon is too 'content delivery oriented' to 
apply such features. is cocoon in your opinion enough flexible to use it 
in such a scenario with not a great load of coding?
Has somebody experienced such an application scenario for coccoon?
One limitation immediately came to my mind is that cocoon works with a 
request from client, is it possible to call a pipeline programmatically?

Thank you very much n advance for suggestions and opinions.


Luca Zago
Senior IT Developer

E-TREE S.p.a.  Via Fonderia 43 - 31100 Treviso (Italy)
phone +39.0422.3107
fax   +39.0422.310888

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message