cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geert Josten <Geert.Jos...@daidalos.nl>
Subject Re: Application Integration with Cocoon
Date Fri, 17 Jun 2005 22:04:44 GMT
Hi,

If your struts servlet produces XML, you can just consume it with the (default) file generator.
If 
you want to access a Business Layer for advanced handling of Business Objects, you might be

interested in FlowScript or JavaFlow.

Cheers,
Geert

Armaz Mellati wrote:

> Hi
>  
> And yes, you can use http session object from within xsp and/or a 
> pipline. Within xsp you have access to the  "request" object. With a 
> call like request.getSession() (or something like that) you can access 
> the session object.
> And within a pipeline you can use  Session Input Module.  Look at the 
> samples .
>  
> Regards,
> Armaz
> 
>     ------------------------------------------------------------------------
>     *From:* Roland Berger [mailto:roland.berger@aloba.ch]
>     *Sent:* Friday, June 17, 2005 6:05 PM
>     *To:* users@cocoon.apache.org
>     *Subject:* Application Integration with Cocoon
> 
>     Hi all
> 
>      
> 
>     I’m looking for a way to integrate application logic into lenya.
>     Since lenya is based on cocoon I believe I have to ask this question
>     in this mailing list.
> 
>      From what I have read in the mailing list it is possible to use
>     actions in pipelines to trigger some business logic and aggregate
>     the output with other xml.
> 
>     Since I have some knowledge of struts applications I’m curious if I
>     could use struts for the control-, and business(delegate) logic.
> 
>     So my question is:
> 
>     -Is it possible to forward a request (with all request parameters)
>     from within a pipeline to another servlet (eg. struts), take the
>     response from that servlet and use it in the pipeline for further
>     processing?
> 
>      
> 
>     There is a ‘redirect-to’ thing in cocoon but from what I have read
>     in the docs it doesn’t do what I want.
> 
>      
> 
>     Another question is:
> 
>     -Is it possible to access the http session object from within xsp
>     and/or a pipline?
> 
>      
> 
>     I’m thankfull for any answers and other experiences and tip’s to
>     integrate application logic to cocoon or lenya
> 
>     Regards Roland
> 

-- 
=====================================
NB: het Daidalos kantoor is sinds 22 april
jl. gevestigd op een nieuw adres:

Daidalos BV
Hoekeindsehof 1 - 4
2665 JZ Bleiswijk
tel: +31 (0)10 850 12 00
fax: +31 (0)10 850 11 99

Bovenstaand adres is tevens het postadres.
======================
Geert.Josten@Daidalos.nl
IT-consultant at Daidalos BV

http://www.daidalos.nl/

GPG: 1024D/12DEBB50

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message