Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 40306 invoked from network); 22 Aug 2005 22:58:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Aug 2005 22:58:31 -0000 Received: (qmail 39888 invoked by uid 500); 22 Aug 2005 22:58:27 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 39744 invoked by uid 500); 22 Aug 2005 22:58:27 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 39422 invoked by uid 99); 22 Aug 2005 22:57:57 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Aug 2005 15:57:57 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [81.209.148.130] (HELO dd2020.kasserver.com) (81.209.148.130) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Aug 2005 15:58:09 -0700 Received: from [192.168.1.3] (p54B18378.dip0.t-ipconnect.de [84.177.131.120]) by dd2020.kasserver.com (Postfix) with ESMTP id D8BB31E960A for ; Tue, 23 Aug 2005 00:57:46 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v734) In-Reply-To: References: <1c661f2f05082009471c0751fe@mail.gmail.com> Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-3-415377012" Message-Id: <683265E2-9E3F-4627-8A60-105EF520531E@apache.org> Content-Transfer-Encoding: 7bit From: Torsten Curdt Subject: Re: [jci] Handling compilation errors Date: Tue, 23 Aug 2005 00:57:44 +0200 To: "Jakarta Commons Developers List" X-Pgp-Agent: GPGMail 1.1.1 (Tiger) X-Mailer: Apple Mail (2.734) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --Apple-Mail-3-415377012 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > do you really want to show compiler errors to the user? If so, you > can pass a > problem handler that consumes the problems up to a refresh of a > page. For this > refresh the problem handler is asked for the problems and they are > passed to the > view. After getting the problems from the handler it can be > resetted or cleared. > (BTW, this use case shows a different lifecycle for the handler and > is another > signal for removing lifecycle specific stuff from the handler > interface.) Well, to me it's a clear example why a lifecycle would make sense! > For the integration into web frameworks: Do you need the > CompilingClassLoader? > Isn't the Compiler sufficient? At least for XSP in Cocoon the > reload is handled > by Cocoon. Which is actually bad bad bad! We had major problems with that. The lastmodified check is a big performance bottleneck. If you go for a synchronous check you would have to check it on every request. We worked around that by caching it for a certain amount of time. Beforehand XSP pages did just not scale. An asynchronous approach will help with the SoC and scaleability. ...implementation that with XSP turned out to be no piece of cake and noone ended up doing it. IIRC there was a discussion with Berin long long(!) time ago. > I'm going to provide a JCI implementation for the LanguageCompiler > interface (used in XSP), but probably not in the next two weeks. Which would be great :-) cheers -- Torsten --Apple-Mail-3-415377012 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFDClhpBGM6V3wgCUERAjq3AJ9g4N4eYjqNyaW1G4UY5Zc+p+Ly3wCeM8dy HxCLf0zm+VWXQCA5e5GSwHs= =Mii6 -----END PGP SIGNATURE----- --Apple-Mail-3-415377012--