cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Oliver <res1c...@verizon.net>
Subject Re: EJB + Cocoon, "Best Practices"
Date Tue, 23 Sep 2003 03:32:48 GMT
Tim Olson wrote:

>to get EJBs into cocoon, we have a custom Action / Generator pair.  the
>action can be configured to make any EJB call (uses reflection) and stuff
>the results into a HashMap.  the custom generator then sends that hashmap
>through Castor to generate SAX events.  it's very nice, since we can turn
>any series of ejb calls into XML data with just a few lines of sitemap code.
>note: remote interfaces are tricky to castorize so use the value object (aka
>data transfer object) pattern.
>
>we eschewed flow scripts and wrote our own action engine, but i should post
>separately about that.
>
>  
>
Why did you "eschew" flow scripts? Just curious.


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


Mime
View raw message