One of the ideas behind JDK5.0 annotations is that they can be used at runtime without having to generate the artifacts manually first. For example, we could have some annotations (@BackingBean(scope=BeanScope.REQUEST)... etc, - I have not thought about the exact annotations)) that could be read by the FacesConfiguration when the application is initialized. The configurator could create the xml files on the file and then read it the standard way, or directly register the beans and related stuff using the RuntimeConfig singleton...
Using annotations could be an add-on, since the configurator would check for annotated managed beans and also for faces-config.xml files in the META-INF. Both approaches are compatible and could live at the same time. Regards, Bruno 2005/6/6, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > Hi Martin, > I create a component description (dump java class with comments) and then > from this class XDoclet generates components and tags sources classes and > adds a record to the TLD and faces-config. > > I have used XDoclet to be independent on Java5. > > XDoclet can be using to generate faces-config from backing beans(when you > are creating web application). This modul description can you find here: > http://xdoclet.sourceforge.net/xdoclet/tags/jsf-tags.html > > Jiri Zaloudek > > >-- Původní zpráva -- > >Reply-To: "MyFaces Development" <[email protected]> > >Date: Mon, 6 Jun 2005 10:13:07 +0200 > >From: Martin Marinschek <[EMAIL PROTECTED]> > >Reply-To: [EMAIL PROTECTED] > >To: MyFaces Development <[email protected]> > >Subject: Fwd: Google Open Source > > > > > >How would that work? > > > >So you would develop a component, annotate it, and generate the tag from > >it? > > > >or you mean to annotate the backing beans and generating the > >faces-config.xml from it? > > > >regards, > > > >Martin > > > >On 6/6/05, Sylvain Vieujot <[EMAIL PROTECTED]> wrote: > >> I was thinking about another project : > >> > >> An annotations based configuration, like what Hibernate Annotations ( > >> http://www.hibernate.org/247.html ) does for hibernate. > >> For the ones using XDoclet JSF, it's roughly the same, but using the > new > >> Java5 annotations. > >> > >> Sylvain. > >> > >> On Thu, 2005-06-02 at 17:41 +0200, Martin Marinschek wrote: > >> Hey guys & girls, > >> > >> have you read about that Google Summer-of-code initiative > >> (http://code.google.com/summerofcode.html)? > >> > >> I have several (exactly 4 students) who would love to take part in > >> this initiative, so all we would need to have would be 4 small > >> projects they could finish in 3 months work. > >> > >> The good thing: they are all trained (by me ;) in JSF, have worked > >> with the framework, have written a small project on their own and that > >> all using MyFaces! > >> > >> What do you say? Is there anything we would definitely want to have done? > >> > >> I have already added a project: > >> - implementing the architecture for AJAX-based components, this one > >> would be important and certainly worth a shot > >> > >> Other suggestions: > >> - Implementing PRETTY_HTML for all renderers, and getting the html to > >> be "more" valid than today > >> - Writing server-side-sort/client-side sort implementations for > >> dataTable and dataList > >> - Implementing changes for JSF1.2 > >> > >> What about your suggestions? Would you be interested in mentoring? > >> > >> Projects can be added at: > >> > >> http://wiki.apache.org/general/SummerOfCode2005 > >> > >> regards, > >> > >> Martin > >> > >> > > -------------------------------------------------------------------------- > Super mobil za neuvěřitelnou cenu! Nokia 2600 již od 77 Kč! > http://ad.tiscali.com/adclick/CID=0002665dc6efdc0e00000000/SITE=CZ.TISCALI > >
