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

Regards.
Laurent


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


Hi,
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


-- 
Luca Zago
Senior IT Developer
_____________________________________________________

E-TREE S.p.a.  Via Fonderia 43 - 31100 Treviso (Italy)
phone +39.0422.3107
fax   +39.0422.310888
http://www.e-tree.com          http://www.webanana.com
_____________________________________________________


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to