Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 82988 invoked from network); 23 Sep 2003 03:33:13 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 23 Sep 2003 03:33:13 -0000 Received: (qmail 78560 invoked by uid 500); 23 Sep 2003 03:32:40 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 78537 invoked by uid 500); 23 Sep 2003 03:32:39 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 78444 invoked from network); 23 Sep 2003 03:32:39 -0000 Received: from unknown (HELO pop017.verizon.net) (206.46.170.210) by daedalus.apache.org with SMTP; 23 Sep 2003 03:32:39 -0000 Received: from verizon.net ([4.40.114.87]) by pop017.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030923033248.IWDF27671.pop017.verizon.net@verizon.net> for ; Mon, 22 Sep 2003 22:32:48 -0500 Message-ID: <3F6FBEE0.5020003@verizon.net> Date: Mon, 22 Sep 2003 20:32:48 -0700 From: Christopher Oliver User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-us, en MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Re: EJB + Cocoon, "Best Practices" Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at pop017.verizon.net from [4.40.114.87] at Mon, 22 Sep 2003 22:32:48 -0500 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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