Return-Path: Delivered-To: apmail-struts-dev-archive@www.apache.org Received: (qmail 16648 invoked from network); 12 Sep 2006 16:57:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Sep 2006 16:57:30 -0000 Received: (qmail 90557 invoked by uid 500); 12 Sep 2006 16:57:27 -0000 Delivered-To: apmail-struts-dev-archive@struts.apache.org Received: (qmail 90443 invoked by uid 500); 12 Sep 2006 16:57:27 -0000 Mailing-List: contact dev-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Developers List" Reply-To: "Struts Developers List" Delivered-To: mailing list dev@struts.apache.org Received: (qmail 90428 invoked by uid 99); 12 Sep 2006 16:57:26 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Sep 2006 09:57:26 -0700 Authentication-Results: idunn.apache.osuosl.org header.from=jukcoder@yahoo.co.uk; domainkeys=good Authentication-Results: idunn.apache.osuosl.org smtp.mail=jukcoder@yahoo.co.uk; spf=permerror X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,HTML_10_20,HTML_MESSAGE,HTML_NONELEMENT_20_30,SUBJ_HAS_SPACES Received-SPF: error (idunn.apache.osuosl.org: domain yahoo.co.uk from 217.146.176.240 cause and error) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 Received: from ([217.146.176.240:32226] helo=web25712.mail.ukl.yahoo.com) by idunn.apache.osuosl.org (ecelerity 2.1 r(10620)) with ESMTP id 06/11-03395-DF6E6054 for ; Tue, 12 Sep 2006 09:57:35 -0700 Received: (qmail 74779 invoked by uid 60001); 12 Sep 2006 16:57:16 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.uk; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=pQbMBfjz464WE3SvvmFeFcTI7rePcwo1DaaRbQDCdxRwQ5jLCX54ukIT89/Yjoe50Txyv6y24cLqakWKn4tMRMygGakrY38u45+JtfgNRxwgYntqwNYVY8GTsS4gszW9FPUWiV63x1ylcvTmYPDtFhQa5UBT89zL3sgHvebx7IU= ; Message-ID: <20060912165716.74777.qmail@web25712.mail.ukl.yahoo.com> Received: from [82.36.35.114] by web25712.mail.ukl.yahoo.com via HTTP; Tue, 12 Sep 2006 17:57:16 BST Date: Tue, 12 Sep 2006 17:57:16 +0100 (BST) From: faisal abdallah Subject: Re: [Proposal] Framework plugin architecture (was Re: [s2] Logging levels) To: Struts Developers List In-Reply-To: <62050.80.137.83.88.1158041135.squirrel@strato.aixcept.de> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-29071187-1158080236=:72678" Content-Transfer-Encoding: 8bit X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --0-29071187-1158080236=:72678 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Has anybody managed to unsubscribe from this list. I've tried hundred of times with no luck Rainer Hermanns wrote: Really good idea, +1 > The way I propose to solve this problem is to implement "Framework > Plugins". A framework plugin is a jar that contains framework extension > classes and configuration, which only need to be dropped into the > classpath to be activated. > > A plugin would consist of: > - struts-default.xml: A Struts config file defining the interceptors, > interceptor stacks, results, packages, and/or actions > - The Java classes and resources > > On startup, Struts would search for and load all the struts-default.xml > files first, then load the application-specific struts.xml files. This > would allow you to easily install and use a plugin as easily as copying > a jar file into your application. > > Each plugin's would define its own package that contains its results, > interceptors, and actions. Then, for an application to use the plugin, > simply have its packages extend the plugin's package(s): > > .... > > Initial candidates for plugins would be: > - JSF support > - Jasper Reports support > - Pell support > > To implement this proposal, we would need to split out the jasper, pell, > and jsf code into their own artifacts and give them their own > struts-default.xml file. We could extend the framework idea to extract > any code that uses an optional jar, including support for things like > Spring or Velocity. This would make a nice one-to-one mapping between > optional jars and their Struts plugin, and would simplify core to boot. > > Of course, this would be targeted for 2.0.1 :) > > Don > > Ted Husted wrote: >> On 9/11/06, Don Brown wrote: >>> Make sure you get the latest xwork, as a lot of the changes where in >>> there. >> >> I updated XWork, but now there are even more logging statements than >> before :( >> >> Sep 11, 2006 5:21:05 PM org.apache.catalina.startup.Catalina start >> INFO: Server startup in 2546 ms >> Sep 11, 2006 5:21:06 PM >> com.opensymphony.xwork2.config.providers.InterceptorBuilder >> constructInterceptorReference >> WARNING: Unable to load config class >> org.apache.struts2.jsf.FacesSetupInterceptor at interceptor - >> jar:file:/C:/opt/Apache/Tomcat-5.5/webapps/struts2-mailreader/WEB-INF/lib/struts2-core-2.0.0.jar!/struts-default.xml:57:97 >> >> probably due to a missing jar, which might be fine if you never plan >> to use the jsfSetup interceptor >> Sep 11, 2006 5:21:06 PM >> com.opensymphony.xwork2.config.providers.InterceptorBuilder >> constructInterceptorReference >> WARNING: Unable to load config class >> org.apache.struts2.jsf.RestoreViewInterceptor at interceptor - >> jar:file:/C:/opt/Apache/Tomcat-5.5/webapps/struts2-mailreader/WEB-INF/lib/struts2-core-2.0.0.jar!/struts-default.xml:58:100 >> >> probably due to a missing jar, which might be fine if you never plan >> to use the jsfRestore interceptor >> Sep 11, 2006 5:21:06 PM >> com.opensymphony.xwork2.config.providers.InterceptorBuilder >> constructInterceptorReference >> WARNING: Unable to load config class >> org.apache.struts2.jsf.ApplyRequestValuesInterceptor at interceptor - >> jar:file:/C:/opt/Apache/Tomcat-5.5/webapps/struts2-mailreader/WEB-INF/lib/struts2-core-2.0.0.jar!/struts-default.xml:59:105 >> >> probably due to a missing jar, which might be fine if you never plan >> to use the jsfApply interceptor >> Sep 11, 2006 5:21:06 PM >> com.opensymphony.xwork2.config.providers.InterceptorBuilder >> constructInterceptorReference >> WARNING: Unable to load config class >> org.apache.struts2.jsf.ProcessValidationsInterceptor at interceptor - >> jar:file:/C:/opt/Apache/Tomcat-5.5/webapps/struts2-mailreader/WEB-INF/lib/struts2-core-2.0.0.jar!/struts-default.xml:60:108 >> >> probably due to a missing jar, which might be fine if you never plan >> to use the jsfValidate interceptor >> Sep 11, 2006 5:21:06 PM >> com.opensymphony.xwork2.config.providers.InterceptorBuilder >> constructInterceptorReference >> WARNING: Unable to load config class >> org.apache.struts2.jsf.UpdateModelValuesInterceptor at interceptor - >> jar:file:/C:/opt/Apache/Tomcat-5.5/webapps/struts2-mailreader/WEB-INF/lib/struts2-core-2.0.0.jar!/struts-default.xml:61:105 >> >> probably due to a missing jar, which might be fine if you never plan >> to use the jsfUpdate interceptor >> Sep 11, 2006 5:21:06 PM >> com.opensymphony.xwork2.config.providers.InterceptorBuilder >> constructInterceptorReference >> WARNING: Unable to load config class >> org.apache.struts2.jsf.InvokeApplicationInterceptor at interceptor - >> jar:file:/C:/opt/Apache/Tomcat-5.5/webapps/struts2-mailreader/WEB-INF/lib/struts2-core-2.0.0.jar!/struts-default.xml:62:105 >> >> probably due to a missing jar, which might be fine if you never plan >> to use the jsfInvoke interceptor >> Sep 11, 2006 5:21:09 PM >> com.opensymphony.xwork2.config.providers.InterceptorBuilder >> constructInterceptorReference >> WARNING: Unable to load config class >> org.apache.struts2.jsf.FacesSetupInterceptor at interceptor - >> jar:file:/C:/opt/Apache/Tomcat-5.5/webapps/struts2-mailreader/WEB-INF/lib/struts2-core-2.0.0.jar!/struts-default.xml:57:97 >> >> probably due to a missing jar, which might be fine if you never plan >> to use the jsfSetup interceptor >> Sep 11, 2006 5:21:09 PM >> com.opensymphony.xwork2.config.providers.InterceptorBuilder >> constructInterceptorReference >> WARNING: Unable to load config class >> org.apache.struts2.jsf.RestoreViewInterceptor at interceptor - >> jar:file:/C:/opt/Apache/Tomcat-5.5/webapps/struts2-mailreader/WEB-INF/lib/struts2-core-2.0.0.jar!/struts-default.xml:58:100 >> >> probably due to a missing jar, which might be fine if you never plan >> to use the jsfRestore interceptor >> Sep 11, 2006 5:21:09 PM >> com.opensymphony.xwork2.config.providers.InterceptorBuilder >> constructInterceptorReference >> WARNING: Unable to load config class >> org.apache.struts2.jsf.ApplyRequestValuesInterceptor at interceptor - >> jar:file:/C:/opt/Apache/Tomcat-5.5/webapps/struts2-mailreader/WEB-INF/lib/struts2-core-2.0.0.jar!/struts-default.xml:59:105 >> >> probably due to a missing jar, which might be fine if you never plan >> to use the jsfApply interceptor >> Sep 11, 2006 5:21:09 PM >> com.opensymphony.xwork2.config.providers.InterceptorBuilder >> constructInterceptorReference >> WARNING: Unable to load config class >> org.apache.struts2.jsf.ProcessValidationsInterceptor at interceptor - >> jar:file:/C:/opt/Apache/Tomcat-5.5/webapps/struts2-mailreader/WEB-INF/lib/struts2-core-2.0.0.jar!/struts-default.xml:60:108 >> >> probably due to a missing jar, which might be fine if you never plan >> to use the jsfValidate interceptor >> Sep 11, 2006 5:21:09 PM >> com.opensymphony.xwork2.config.providers.InterceptorBuilder >> constructInterceptorReference >> WARNING: Unable to load config class >> org.apache.struts2.jsf.UpdateModelValuesInterceptor at interceptor - >> jar:file:/C:/opt/Apache/Tomcat-5.5/webapps/struts2-mailreader/WEB-INF/lib/struts2-core-2.0.0.jar!/struts-default.xml:61:105 >> >> probably due to a missing jar, which might be fine if you never plan >> to use the jsfUpdate interceptor >> Sep 11, 2006 5:21:09 PM >> com.opensymphony.xwork2.config.providers.InterceptorBuilder >> constructInterceptorReference >> WARNING: Unable to load config class >> org.apache.struts2.jsf.InvokeApplicationInterceptor at interceptor - >> jar:file:/C:/opt/Apache/Tomcat-5.5/webapps/struts2-mailreader/WEB-INF/lib/struts2-core-2.0.0.jar!/struts-default.xml:62:105 >> >> probably due to a missing jar, which might be fine if you never plan >> to use the jsfInvoke interceptor >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org >> For additional commands, e-mail: dev-help@struts.apache.org >> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org > For additional commands, e-mail: dev-help@struts.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org For additional commands, e-mail: dev-help@struts.apache.org --------------------------------- All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease of use." - PC Magazine --0-29071187-1158080236=:72678--