Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 36693 invoked from network); 11 Jan 2006 16:01:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 11 Jan 2006 16:01:27 -0000 Received: (qmail 52641 invoked by uid 500); 11 Jan 2006 16:01:08 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 52407 invoked by uid 500); 11 Jan 2006 16:01:07 -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 List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 52303 invoked by uid 99); 11 Jan 2006 16:01:06 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jan 2006 08:01:06 -0800 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [159.53.36.121] (HELO sf8.svr.bankone.net) (159.53.36.121) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jan 2006 08:01:03 -0800 Received: from se9.svr.bankone.net (se9.svr.bankone.net [155.180.234.124]) by sf8.svr.bankone.net (Switch-3.1.7/Switch-3.1.7) with ESMTP id k0BGH5lY006079 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK) for ; Wed, 11 Jan 2006 11:17:05 -0500 Received: from svr.bankone.net (imj1.svr.bankone.net [155.180.50.145]) by se9.svr.bankone.net (Switch-3.1.7/Switch-3.1.7) with ESMTP id k0BG0flq028913 for ; Wed, 11 Jan 2006 11:00:41 -0500 Received: from ([10.21.212.166]) by imj1.svr.bankone.net with ESMTP id KP-BRADY.14235259; Wed, 11 Jan 2006 10:00:28 -0600 Subject: CForms + Flowscript + AJAX To: users@cocoon.apache.org X-Mailer: Lotus Notes Release 6.5.1 January 21, 2004 Message-ID: From: ian.d.stewart@jpmchase.com Date: Wed, 11 Jan 2006 11:00:22 -0500 X-MIMETrack: Serialize by Router on MIUSMF007/JPMCHASE(Release 6.5.3|September 14, 2004) at 01/11/2006 11:00:26 AM MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Dear List, We have a CHS (Cocoon-Hibernate-Spring) application that uses a binary tree implemented as an AJAX component. Since porting this app to Cocoon (it was previously implemented using Spring MVC), we have been experiencing difficulties with the tree. Specifically, the app doesn't respond to user interaction with the tree until Cocoon has completed processing the current request. In researching this issue, I ran across the following from Sylvain Wallez in the Cocoon-Users archive: Execution of a flowscript is synchronized on the global variable scope, which is bound to the session. Although this shouldn't be a problem in real world as a single user is not very likely to send parallel requests, you should verify that your load testing engine uses different sessions (or no session at all) for the simulated concurrent users. That may explain these numbers. At this point, I'm trying to evaluate my options, which as I see it are: 1) Refactor flow control to use JavaFlow instead of flowscript (this is assuming that JavaFlow isn't subject to the same synchronization as flowscript) 2) Refactor the app to minimize the use of flow control 3) Host the AJAX component under a seperate servlet Can someone tell me if JavaFlow suffers from the same synchronization issues as flowscript? Also any recommendations for alternate approaches would be welcome. Thanks, Ian It's better to be hated for who you are than loved for who you are not Ian D. Stewart Appl Dev Analyst-Advisory, DCS Automation JPMorganChase Global Technology Infrastructure Phone: (614) 244-2564 Pager: (888) 260-0078 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org