You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Jiri Luzny <ji...@yahoo.com> on 2001/05/10 08:52:20 UTC

C2 in JMS environment

Hi Folks,

We are just looking for a presentation engine for our new messaging platform based on JMS
technology.
Cocoon2 seems to be very interesting possibility, but I don't know how C2 would exactly fit to our
architecture.
The architecture looks like this:

    |--------|  |----------|  |------------|  |------|
    |JMS     |  |Logic     |  |Presentation|  |JMS   |
IN->|Reciever|->|Controller|->|Processing  |->|Sender|->OUT
    |--------|  |----------|  |------------|  |------|  

I tried to translate it to C2 architecture in the following way:

    |---------|  |---------|  |------------|  |-------------|
    |Generator|  |Actions  |  |Transformer,|  |The Generator|
IN->|         |->|         |->|Serializer? |->|again?       |->OUT
    |-------- |  |---------|  |------------|  |-------------|  

I'm not sure this will work.
First of all, 
does C2 work without a servlet container (e.g. invoked from javax.jms.MessageListener)?
How do I translate data(XML) of incoming JMS message and send them to C2 engine?
How can I get the transformed data back from C2 engine in order to send the message somewhere
else?
A simple solution would also be: to store XML from the incoming JMS message to a filesystem (to
webapp dir) -> to invoke command line version of C2 -> to read transformed file from the
filesystem and send it then... It is not elegant and performance... :-(
Does anybody have an experience with Cocoon2 + JMS?

I appreciate any comment...

Jiri.



__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

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