cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giacomo Pati <giac...@apache.org>
Subject Re: Servlet generator, help needed
Date Thu, 19 Jul 2001 15:21:52 GMT
Quoting Jean-Marc Borer <jean-marc.borer@infodesign.com>:

> 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: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
> 
> 
> 

---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message