cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nadine Carlton" <nadine_carl...@hp.com>
Subject Re: Where did ProducerFromRequest go?
Date Thu, 24 Aug 2000 18:18:01 GMT
Stefano,

  I am trying to figure out how to design an application that also
has a Java server that merges data returned from multiple calls to
Cocoon servlets.  I'm not a servlet and OOP expert though, and I could
use more explanation on what you would recommend. Even if I 
attempted to rewrite the intermediate server into Cocoon, the design
isn't clear to me.

Luke and I don't communicate on the same wavelength, I guess. :-)

Nadine Carlton
HP
-----Original Message-----
From: Stefano Mazzocchi <stefano@apache.org>
To: cocoon-users@xml.apache.org <cocoon-users@xml.apache.org>
Date: Wednesday, August 23, 2000 2:50 AM
Subject: Re: Where did ProducerFromRequest go?


>Ulrich Mayring wrote:
>> 
>> Hi folks,
>> 
>> I'm back and ready to rumble again.
>> 
>> I read in the list archives that ProducerFromRequest was removed for
>> security reasons.
>
>Yes.
>
>> I need to call cocoon programmatically and perused the fromServlet
>> sample supplied with cocoon. This sample needs ProducerFromRequest to
>> run - so:
>> 
>> 1) Will ProducerFromRequest come back?
>
>No
>
>> 2) If no, how would one go about calling cocoon programmatically (from a
>> remote machine)?
>
>Good question.
>
>The answer is: it depends.
> 
>> Basically, I create an XML document in a Java program and post it to a
>> servlet (to be written), which should hand it to cocoon, cocoon should
>> (via fop) generate a PDF and send a stream back to the servlet, which
>> gives the stream to the Java program, which saves the PDF to a file.
>
>Well, in this case, I would suggest that your servlet extends Cocoon
>instead of calling it.
>
>Use the OOP, luke :)
>
>-- 
>Stefano Mazzocchi      One must still have chaos in oneself to be
>                          able to give birth to a dancing star.
><stefano@apache.org>                             Friedrich Nietzsche
>--------------------------------------------------------------------
> Missed us in Orlando? Make it up with ApacheCON Europe in London!
>------------------------- http://ApacheCon.Com ---------------------
>
>
>
>---------------------------------------------------------------------
>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