cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven Dolg <>
Subject Re: Stand alone Cocoon
Date Fri, 26 Jun 2009 08:51:59 GMT
zzkumar schrieb:
> Hi All,
> I am new to Cocoon. We are planning to use Cocoon for report generation (XML
> + excel template passed through Cocoon = Excel file with values filled in).
> I am able to generate the report when I deploy the cocoon as a web app.
> Now the issue is, I want to integrate cocoon into my existing webapp. By
> integrating I mean, I should use the web.xml of my current web application
> and not the one from cocoon. i.e. every request should go through my old
> web.xml.
> and when I say generate report, it should invoke methods from Cocoon and
> generate reports.
> For ex. I want to have a method like : public Object generateReport(String
> xlsPath, String excelTemplatePath) and this method should invoke classes
> from Cocoon, generate report and return the report.

One thing I forgot to mention:
What you describe looks almost like a helper class we created in Cocoon 

Basically it builds a Pipeline, adds the required components, applies 
the parameters  and executes this all.
It's like a one-stop-shop for the most common XSLT things you can come 

This class is also a nice example for the Pipeline API itself and how to 
use it for building your own ready-to-use transformations.

(However, keep in mind that this is trunk, so it has all the nice 
generics, packaging, etc.)
> Please let me if this is possible. Also please direct me to some documents,
> links on this.
> thank you in advance.
> Regards,
> Kumar.D

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

View raw message