The way  we do this is like this.

1. I created a servlet that receives a request and created a XML message
2. I send this message to our EJB system and uses the incoming XML message
to query the database and it returns the result set in XML format
3. I then in turn send the resulting XML message to cocoon to generate the
html to display.

I would like to keep this methodology, but i do not know how to do this
with cocoon 2

Thanks

Ravi Narine
Senior Analyst
Banking & Investments
Technology and Development
CGI Group Inc.
416-304-7555
[EMAIL PROTECTED]


                                                                                       
                            
                    Jesper                                                             
                            
                    Rasmussen            To:     <[EMAIL PROTECTED]>         
                            
                    <[EMAIL PROTECTED]        cc:                                           
                            
                    t>                   Subject:     Re: Cocoon and other servlets    
                            
                                                                                       
                            
                    11/21/01                                                           
                            
                    11:26 AM                                                           
                            
                    Please                                                             
                            
                    respond to                                                         
                            
                    cocoon-users                                                       
                            
                                                                                       
                            
                                                                                       
                            




I have done this by have a file handler request a url which is a servlet
generating xml.
However i cant seem to get this cached, and so i continue with a question:

Is is possible to cache the xml generated from the servlet in this case?

cheers
Jesper

On Wed, 21 Nov 2001 [EMAIL PROTECTED] wrote:

>
> I know that in cocoon 1 there was a way to pass a XML message from
servlet
> to cocoon.  They also stated that this was not the best way.  I am
> wondering how to do this using cocoon 2?
>
> Thanks
>
> Ravi Narine
> Senior Analyst
> Banking & Investments
> Technology and Development
> CGI Group Inc.
> 416-304-7555
> [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]>
>


---------------------------------------------------------------------
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