Quoting Jean-Marc Borer <[EMAIL PROTECTED]>:

> Hello guys,
> 
> I am new to Cocoon, but not to web application development and XML. We
> are currently evaluating Cocoon to see if it fits out needs. We develop
> web applications based on servlets. In a MVC (model view controller)
> model, we expect to use servlets as controllers, Cocoon for the view and
> we have our own database layer for the model. Our servlets are
> responsible to produce the XML (from information extracted of the
> database) and tranmit it to the Cocoon pipeline for the rendition.
> However our static pages will be written in XML and processed by Cocoon
> in the usual way.
> What is the best way to implement this? Subclass the ServletGenerator
> class and build our owns?

No, Cocoon was not build to be used that way. Best is you rewrite your servlet 
as Actions and put it at the begining of your pipeline definitions in the 
sitemap.

Giacomo

> 
> Thanks in advance for any help. Cheers,
> 
> 
> Jean-Marc Borer
> Solution center Engineer
> InfoDesign Communications
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
> 
> 
> 

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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

Reply via email to