You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by js...@apache.org on 2006/05/16 18:19:10 UTC

svn commit: r406980 [1/5] - in /geronimo/xbean/site: ./ 2005/ 2005/10/ 2005/10/12/ equinox.data/ resources/

Author: jstrachan
Date: Tue May 16 09:19:08 2006
New Revision: 406980

URL: http://svn.apache.org/viewcvs?rev=406980&view=rev
Log:
Added static website auto-exported from confluence thanks to Pier's awesome plugin

Added:
    geronimo/xbean/site/2005/
    geronimo/xbean/site/2005/10/
    geronimo/xbean/site/2005/10/12/
    geronimo/xbean/site/2005/10/12/xbean-ant-task-and-good-post-by-craig-on-simplifying-spring-with-xbean.html
    geronimo/xbean/site/annotation-based-dependency-injection.html
    geronimo/xbean/site/banner.html
    geronimo/xbean/site/contributor.html
    geronimo/xbean/site/custom-xml.html
    geronimo/xbean/site/download.html
    geronimo/xbean/site/dream-config.html
    geronimo/xbean/site/editing-custom-xml.html
    geronimo/xbean/site/equinox.data/
    geronimo/xbean/site/equinox.data/org.eclipse.osgi-3.1.0.jar   (with props)
    geronimo/xbean/site/equinox.html
    geronimo/xbean/site/faq.html
    geronimo/xbean/site/general.html
    geronimo/xbean/site/home.html
    geronimo/xbean/site/ideas.html
    geronimo/xbean/site/lists.html
    geronimo/xbean/site/mapping-metadata.html
    geronimo/xbean/site/metadata-xml.html
    geronimo/xbean/site/navigation.html
    geronimo/xbean/site/news.html
    geronimo/xbean/site/other-annotations.html
    geronimo/xbean/site/quicklinks.html
    geronimo/xbean/site/release-procedure.html
    geronimo/xbean/site/resources/
    geronimo/xbean/site/resources/space.css
    geronimo/xbean/site/source.html
    geronimo/xbean/site/templating-ideas.html
    geronimo/xbean/site/using-xbean.html
    geronimo/xbean/site/what-is-the-license.html
    geronimo/xbean/site/xbean-ant-task.html

Added: geronimo/xbean/site/2005/10/12/xbean-ant-task-and-good-post-by-craig-on-simplifying-spring-with-xbean.html
URL: http://svn.apache.org/viewcvs/geronimo/xbean/site/2005/10/12/xbean-ant-task-and-good-post-by-craig-on-simplifying-spring-with-xbean.html?rev=406980&view=auto
==============================================================================
--- geronimo/xbean/site/2005/10/12/xbean-ant-task-and-good-post-by-craig-on-simplifying-spring-with-xbean.html (added)
+++ geronimo/xbean/site/2005/10/12/xbean-ant-task-and-good-post-by-craig-on-simplifying-spring-with-xbean.html Tue May 16 09:19:08 2006
@@ -0,0 +1,147 @@
+
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<HTML>
+  <HEAD>
+    <LINK type="text/css" rel="stylesheet" href="../../../resources/space.css">
+    <SCRIPT src="../../../resources/space.js" type="text/javascript"></SCRIPT>
+    <TITLE>
+XBean Ant Task and good post by Craig on simplifying Spring with XBean
+    </TITLE>
+  <META http-equiv="Content-Type" content="text/html;charset=UTF-8"></HEAD>
+  <BODY onload="init()">
+
+    <!-- Banner -->
+    <DIV id="site-banner">
+
+      <TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
+        <TR>
+          <TD align="left" class="topbardiv" nowrap="">
+            <DIV style="color:black; font-size:32pt; font-weight:bold;">XBean</DIV>
+          </TD>
+          <TD align="right" nowrap="">
+            <IMG border="0" src="http://geronimo.apache.org/images/topleft_logo_437x64.gif">
+          </TD>
+        </TR> 
+      </TABLE>
+
+    </DIV>
+
+    <!-- Bread crumbs and Quick Links -->
+    <DIV id="site-navbar">
+      <TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
+        <TR>
+          <TD align="left" valign="middle" nowrap="">
+            <DIV id="site-breadcrumbs">
+<A href="../../../home.html" title="XBean">XBean</A>&nbsp;&gt;&nbsp;2005&nbsp;&gt;&nbsp;10&nbsp;&gt;&nbsp;12&nbsp;&gt;&nbsp;<A href="" title="XBean Ant Task and good post by Craig on simplifying Spring with XBean">XBean Ant Task and good post by Craig on simplifying Spring with XBean</A>
+            </DIV>
+          </TD>
+          <TD align="right" valign="middle" nowrap="">
+            <DIV id="site-quicklinks">
+
+<P><A href="../../../download.html" title="Download">Download</A> | <SPAN class="nobr"><A href="http://xbean.codehaus.org/maven/apidocs/" title="Visit page outside Confluence" rel="nofollow">JavaDocs<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN> | <A href="../../../source.html" title="Source">Source</A> | <SPAN class="nobr"><A href="http://docs.codehaus.org/pages/listpages.action?key=XB" title="Visit page outside Confluence" rel="nofollow">Wiki<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN> | <A href="../../../lists.html" title="Lists">Mailing Lists</A> | <SPAN class="nobr"><A href="http://jira.codehaus.org/browse/XB" title="Visit page outside Confluence" rel="nofollow">Support<SUP><IMG class="rendericon" src="http://goopen.org/confluence/image
 s/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></P>
+            </DIV>
+          </TD>
+        </TR> 
+      </TABLE>
+    </DIV>
+
+<!-- Integrate google search later.
+          <form name="search" action="http://www.google.com/search" method="get">
+            <input type="hidden" name="ie" value="UTF- 8" />
+            <input type="hidden" name="oe" value="UTF- 8" />
+            <input type="hidden" name="domains" value="" />
+            <input type="hidden" name="sitesearch" value="" />
+            <input type="text" name="q" maxlength="255" value="" />        
+            <input type="submit" name="btnG" value="Google Search" />
+          </form>
+-->
+
+      <DIV id="site-content">
+        <TABLE>
+        <TR>
+        <TD valign="top">
+          <DIV id="site-navigation">
+<H3><A name="Navigation-Overview"></A>Overview</H3>
+<UL class="alternate" type="square">
+	<LI><A href="../../../home.html" title="Home">Home</A></LI>
+	<LI><A href="../../../news.html" title="News">News</A></LI>
+	<LI><A href="../../../faq.html" title="FAQ">FAQ</A></LI>
+	<LI><A href="../../../download.html" title="Download">Download</A></LI>
+</UL>
+
+
+<H3><A name="Navigation-Features"></A>Features</H3>
+<UL class="alternate" type="square">
+	<LI><A href="../../../custom-xml.html" title="Custom XML">Custom XML</A></LI>
+	<LI><A href="../../../editing-custom-xml.html" title="Editing Custom XML">Editing Custom XML</A></LI>
+	<LI><A href="../../../xbean-ant-task.html" title="XBean Ant Task">XBean Ant Task</A></LI>
+	<LI><A href="../../../annotation-based-dependency-injection.html" title="Annotation based Dependency Injection">AnDI</A></LI>
+</UL>
+
+
+<H3><A name="Navigation-RelatedProjects"></A>Related Projects</H3>
+<UL class="alternate" type="square">
+	<LI><SPAN class="nobr"><A href="http://www.springframework.org/" title="Visit page outside Confluence" rel="nofollow">Spring<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><SPAN class="nobr"><A href="http://geronimo.apache.org/" title="Visit page outside Confluence" rel="nofollow">Geronimo<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><SPAN class="nobr"><A href="http://activemq.org/" title="Visit page outside Confluence" rel="nofollow">ActiveMQ<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><SPAN class="nobr"><A href="http://openejb.org/" title="Visit page outside Confluence" rel="nofollow">OpenEJB<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><SPAN class="nobr"><A href="http://jencks.org/" title="Visit page outside Confluence" rel="nofollow">Jencks<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><SPAN class="nobr"><A href="http://servicemix.org/" title="Visit page outside Confluence" rel="nofollow">ServiceMix<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+</UL>
+
+
+<H3><A name="Navigation-Support"></A>Support</H3>
+<UL class="alternate" type="square">
+	<LI><SPAN class="nobr"><A href="http://jira.codehaus.org/browse/XB" title="Visit page outside Confluence" rel="nofollow">Issues<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><SPAN class="nobr"><A href="http://jira.codehaus.org/browse/XB?report=com.atlassian.jira.plugin.system.project:roadmap-panel" title="Visit page outside Confluence" rel="nofollow">Roadmap<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><SPAN class="nobr"><A href="http://jira.codehaus.org/browse/XB?report=com.atlassian.jira.plugin.system.project:changelog-panel" title="Visit page outside Confluence" rel="nofollow">Change log<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+</UL>
+
+
+<H3><A name="Navigation-Community"></A>Community</H3>
+<UL class="alternate" type="square">
+	<LI><SPAN class="nobr"><A href="http://docs.codehaus.org/pages/listpages.action?key=XB" title="Visit page outside Confluence" rel="nofollow">Wiki<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><A href="../../../lists.html" title="Lists">Mailing Lists</A></LI>
+	<LI><A href="../../../contributor.html" title="Contributor">Who We Are</A></LI>
+	<LI><SPAN class="nobr"><A href="http://goopen.org/confluence/pages/createpage.action?spaceKey=XB&title=Contributing&linkCreation=true&fromPageId=4782" title="Create Page: Contributing" class="createlink">Contributing<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/plus.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+</UL>
+
+
+<H3><A name="Navigation-Developers"></A>Developers</H3>
+<UL class="alternate" type="square">
+	<LI><A href="../../../source.html" title="Source">Source Code</A></LI>
+	<LI><SPAN class="nobr"><A href="http://www.xbean.org/maven/apidocs/index.html" title="Visit page outside Confluence" rel="nofollow">JavaDocs<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><SPAN class="nobr"><A href="http://www.xbean.org/maven/xref/index.html" title="Visit page outside Confluence" rel="nofollow">Source XRef<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><SPAN class="nobr"><A href="http://www.xbean.org/maven/xref-test/index.html" title="Visit page outside Confluence" rel="nofollow">Test Source XRef<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><A href="../../../release-procedure.html" title="Release Procedure">Release Procedure</A></LI>
+</UL>
+
+          </DIV>
+        </TD>
+        <TD valign="top">
+          <DIV id="site-page">
+
+<!--          
+            <div class="pagetitle">XBean Ant Task and good post by Craig on simplifying Spring with XBean</div>
+-->
+            <DIV class="wiki-content">
+<P>Craig has a <SPAN class="nobr"><A href="http://jroller.com/page/habuma/20051011" title="Visit page outside Confluence" rel="nofollow">great post<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN> which describes how XBean can really help provide a <SPAN class="nobr"><A href="http://docs.codehaus.org/display/XB/Custom%20XML" title="Visit page outside Confluence" rel="nofollow">customized XML language<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN> with Spring XML configuration extensibility. We&apos;re really happy with it so far and have moved away from XSLT and custom DOM processing to the simpler XBean model in ActiveMQ and <SPAN class="nobr"><A href="http://jencks.org/" title="Visit page outside Confluence" rel="nofollow">Jencks<SUP><IMG class=
 "rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN> with <SPAN class="nobr"><A href="http://servicemix.org/" title="Visit page outside Confluence" rel="nofollow">ServiceMix<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN> to follow suit real soon now.</P>
+
+<P>Whats cool is we&apos;ve just about got a working <A href="../../../xbean-ant-task.html" title="XBean Ant Task">XBean Ant Task</A> to auto-generate the configuration, the XSD and HTML documentaiton now. e.g. here&apos;s the <SPAN class="nobr"><A href="http://codehaus.org/~jstrachan/servicemix.xsd.html" title="Visit page outside Confluence" rel="nofollow">current<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN> ServiceMix generated documentation.</P></DIV>
+          
+                  </DIV>
+        </TD>
+      </TR>
+      </TABLE>     
+      </DIV>
+    </DIV>
+    <DIV id="site-footer">
+          Added by     <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan">James Strachan</A>,
+    last edited by     <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan">James Strachan</A> on Oct 12, 2005
+                  
+      (<A href="http://goopen.org/confluence/pages/editpage.action?pageId=4783">edit page</A>)
+    </DIV>
+
+  </BODY>
+
+</HTML>
\ No newline at end of file

Added: geronimo/xbean/site/annotation-based-dependency-injection.html
URL: http://svn.apache.org/viewcvs/geronimo/xbean/site/annotation-based-dependency-injection.html?rev=406980&view=auto
==============================================================================
--- geronimo/xbean/site/annotation-based-dependency-injection.html (added)
+++ geronimo/xbean/site/annotation-based-dependency-injection.html Tue May 16 09:19:08 2006
@@ -0,0 +1,299 @@
+
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<HTML>
+  <HEAD>
+    <LINK type="text/css" rel="stylesheet" href="resources/space.css">
+    <SCRIPT src="resources/space.js" type="text/javascript"></SCRIPT>
+    <TITLE>
+Annotation based Dependency Injection
+    </TITLE>
+  <META http-equiv="Content-Type" content="text/html;charset=UTF-8"></HEAD>
+  <BODY onload="init()">
+
+    <!-- Banner -->
+    <DIV id="site-banner">
+
+      <TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
+        <TR>
+          <TD align="left" class="topbardiv" nowrap="">
+            <DIV style="color:black; font-size:32pt; font-weight:bold;">XBean</DIV>
+          </TD>
+          <TD align="right" nowrap="">
+            <IMG border="0" src="http://geronimo.apache.org/images/topleft_logo_437x64.gif">
+          </TD>
+        </TR> 
+      </TABLE>
+
+    </DIV>
+
+    <!-- Bread crumbs and Quick Links -->
+    <DIV id="site-navbar">
+      <TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
+        <TR>
+          <TD align="left" valign="middle" nowrap="">
+            <DIV id="site-breadcrumbs">
+<A href="home.html" title="XBean">XBean</A>&nbsp;&gt;&nbsp;<A href="" title="Annotation based Dependency Injection">Annotation based Dependency Injection</A>
+            </DIV>
+          </TD>
+          <TD align="right" valign="middle" nowrap="">
+            <DIV id="site-quicklinks">
+
+<P><A href="download.html" title="Download">Download</A> | <SPAN class="nobr"><A href="http://xbean.codehaus.org/maven/apidocs/" title="Visit page outside Confluence" rel="nofollow">JavaDocs<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN> | <A href="source.html" title="Source">Source</A> | <SPAN class="nobr"><A href="http://docs.codehaus.org/pages/listpages.action?key=XB" title="Visit page outside Confluence" rel="nofollow">Wiki<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN> | <A href="lists.html" title="Lists">Mailing Lists</A> | <SPAN class="nobr"><A href="http://jira.codehaus.org/browse/XB" title="Visit page outside Confluence" rel="nofollow">Support<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" heigh
 t="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></P>
+            </DIV>
+          </TD>
+        </TR> 
+      </TABLE>
+    </DIV>
+
+<!-- Integrate google search later.
+          <form name="search" action="http://www.google.com/search" method="get">
+            <input type="hidden" name="ie" value="UTF- 8" />
+            <input type="hidden" name="oe" value="UTF- 8" />
+            <input type="hidden" name="domains" value="" />
+            <input type="hidden" name="sitesearch" value="" />
+            <input type="text" name="q" maxlength="255" value="" />        
+            <input type="submit" name="btnG" value="Google Search" />
+          </form>
+-->
+
+      <DIV id="site-content">
+        <TABLE>
+        <TR>
+        <TD valign="top">
+          <DIV id="site-navigation">
+<H3><A name="Navigation-Overview"></A>Overview</H3>
+<UL class="alternate" type="square">
+	<LI><A href="home.html" title="Home">Home</A></LI>
+	<LI><A href="news.html" title="News">News</A></LI>
+	<LI><A href="faq.html" title="FAQ">FAQ</A></LI>
+	<LI><A href="download.html" title="Download">Download</A></LI>
+</UL>
+
+
+<H3><A name="Navigation-Features"></A>Features</H3>
+<UL class="alternate" type="square">
+	<LI><A href="custom-xml.html" title="Custom XML">Custom XML</A></LI>
+	<LI><A href="editing-custom-xml.html" title="Editing Custom XML">Editing Custom XML</A></LI>
+	<LI><A href="xbean-ant-task.html" title="XBean Ant Task">XBean Ant Task</A></LI>
+	<LI><A href="" title="Annotation based Dependency Injection">AnDI</A></LI>
+</UL>
+
+
+<H3><A name="Navigation-RelatedProjects"></A>Related Projects</H3>
+<UL class="alternate" type="square">
+	<LI><SPAN class="nobr"><A href="http://www.springframework.org/" title="Visit page outside Confluence" rel="nofollow">Spring<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><SPAN class="nobr"><A href="http://geronimo.apache.org/" title="Visit page outside Confluence" rel="nofollow">Geronimo<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><SPAN class="nobr"><A href="http://activemq.org/" title="Visit page outside Confluence" rel="nofollow">ActiveMQ<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><SPAN class="nobr"><A href="http://openejb.org/" title="Visit page outside Confluence" rel="nofollow">OpenEJB<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><SPAN class="nobr"><A href="http://jencks.org/" title="Visit page outside Confluence" rel="nofollow">Jencks<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><SPAN class="nobr"><A href="http://servicemix.org/" title="Visit page outside Confluence" rel="nofollow">ServiceMix<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+</UL>
+
+
+<H3><A name="Navigation-Support"></A>Support</H3>
+<UL class="alternate" type="square">
+	<LI><SPAN class="nobr"><A href="http://jira.codehaus.org/browse/XB" title="Visit page outside Confluence" rel="nofollow">Issues<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><SPAN class="nobr"><A href="http://jira.codehaus.org/browse/XB?report=com.atlassian.jira.plugin.system.project:roadmap-panel" title="Visit page outside Confluence" rel="nofollow">Roadmap<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><SPAN class="nobr"><A href="http://jira.codehaus.org/browse/XB?report=com.atlassian.jira.plugin.system.project:changelog-panel" title="Visit page outside Confluence" rel="nofollow">Change log<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+</UL>
+
+
+<H3><A name="Navigation-Community"></A>Community</H3>
+<UL class="alternate" type="square">
+	<LI><SPAN class="nobr"><A href="http://docs.codehaus.org/pages/listpages.action?key=XB" title="Visit page outside Confluence" rel="nofollow">Wiki<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><A href="lists.html" title="Lists">Mailing Lists</A></LI>
+	<LI><A href="contributor.html" title="Contributor">Who We Are</A></LI>
+	<LI><SPAN class="nobr"><A href="http://goopen.org/confluence/pages/createpage.action?spaceKey=XB&title=Contributing&linkCreation=true&fromPageId=4782" title="Create Page: Contributing" class="createlink">Contributing<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/plus.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+</UL>
+
+
+<H3><A name="Navigation-Developers"></A>Developers</H3>
+<UL class="alternate" type="square">
+	<LI><A href="source.html" title="Source">Source Code</A></LI>
+	<LI><SPAN class="nobr"><A href="http://www.xbean.org/maven/apidocs/index.html" title="Visit page outside Confluence" rel="nofollow">JavaDocs<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><SPAN class="nobr"><A href="http://www.xbean.org/maven/xref/index.html" title="Visit page outside Confluence" rel="nofollow">Source XRef<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><SPAN class="nobr"><A href="http://www.xbean.org/maven/xref-test/index.html" title="Visit page outside Confluence" rel="nofollow">Test Source XRef<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><A href="release-procedure.html" title="Release Procedure">Release Procedure</A></LI>
+</UL>
+
+          </DIV>
+        </TD>
+        <TD valign="top">
+          <DIV id="site-page">
+
+<!--          
+            <div class="pagetitle">Annotation based Dependency Injection</div>
+-->
+            <DIV class="wiki-content">
+<P>So imagine a clean slate where we make a new IoC mechanism. We&apos;d mostly just use a few annotations to declare the IoC contract - reusing standards where possible such as JSR 250 for the annotations and JNDI as the access mechanism to the container.</P>
+
+<H2><A name="AnnotationbasedDependencyInjection-GeneralguidelinesforIoC"></A>General guidelines for IoC</H2>
+
+<UL>
+	<LI>the container is invisible and no container specific APIs are required by the component developers or users of the container</LI>
+	<LI>regular Java code can be the container - or some scripting language etc</LI>
+	<LI>allows configuration through some XML marshalling layer; where JAXB 2 could be the default XML configuration mechanism</LI>
+</UL>
+
+
+<H2><A name="AnnotationbasedDependencyInjection-MandatoryAnnotations"></A>Mandatory Annotations</H2>
+
+<P>These annotations MUST be adhered to by a container.</P>
+
+<H3><A name="AnnotationbasedDependencyInjection-%40Resource%28fromJSR250%29"></A>@Resource (from JSR 250)</H3>
+
+<P>Indicate a place in a naming system, such as JNDI where the resource should be fetched from. We assume here that using @Resource marks stuff as mandatory</P>
+
+<H3><A name="AnnotationbasedDependencyInjection-%40PostConstruct%28fromJSR250%29"></A>@PostConstruct (from JSR 250)</H3>
+
+<P>This method MUST be called after the constructors and property setters have been called. May throw any exception to indicate that the bean could not be configured properly.</P>
+
+<H3><A name="AnnotationbasedDependencyInjection-%40PreDestroy%28fromJSR250%29"></A>@PreDestroy (from JSR 250)</H3>
+
+<P>Called when a bean is no longer required and being destroyed by the container. This method MUST be called by all containers.</P>
+
+<H3><A name="AnnotationbasedDependencyInjection-OtherAnnotations"></A>Other Annotations</H3>
+
+<P>See <A href="other-annotations.html" title="Other Annotations">Other Annotations</A> for more ideas of optional annotations.</P>
+
+<H2><A name="AnnotationbasedDependencyInjection-Contractsummary"></A>Contract summary</H2>
+
+<P>The following pseudocode illustrates the containers contract</P>
+
+<UL>
+	<LI>initialse the POJO</LI>
+	<LI>call any setters</LI>
+	<LI>check that all the @Resource setters are called - if not fail with an exception</LI>
+	<LI>call the @PostConstruct method</LI>
+</UL>
+
+
+<UL>
+	<LI>before termination of the container, call any @PreDestroy method</LI>
+</UL>
+
+
+<H2><A name="AnnotationbasedDependencyInjection-ExamplePOJO"></A>Example POJO</H2>
+
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-java"><SPAN class="code-keyword">public</SPAN> class Cheese {
+  <SPAN class="code-keyword">private</SPAN> DataSource dataSource;
+  <SPAN class="code-keyword">private</SPAN> <SPAN class="code-object">int</SPAN> timeout = 100;
+
+  @Resource
+  <SPAN class="code-keyword">public</SPAN> void setDataSource(DataSource ds) {
+     <SPAN class="code-keyword">this</SPAN>.dataSource = ds;
+  }
+  
+  <SPAN class="code-keyword">public</SPAN> void setTimeout(<SPAN class="code-object">int</SPAN> timeout) {
+     <SPAN class="code-keyword">this</SPAN>.timeout = timeout;
+  }
+
+  @PostConstruct
+  <SPAN class="code-keyword">public</SPAN> void start() <SPAN class="code-keyword">throws</SPAN> Exception {
+     ...
+
+  }
+}</PRE>
+</DIV></DIV>
+
+
+<H2><A name="AnnotationbasedDependencyInjection-ExampleContainers"></A>Example Containers</H2>
+
+<H3><A name="AnnotationbasedDependencyInjection-Javacode"></A>Java code</H3>
+
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-java">Cheese c = <SPAN class="code-keyword">new</SPAN> Cheese()
+c.setDataSource(foo);
+c.setTimeout(123); <SPAN class="code-comment">// optional
+</SPAN>c.start();</PRE>
+</DIV></DIV>
+
+<H3><A name="AnnotationbasedDependencyInjection-JAXB2"></A>JAXB 2</H3>
+
+<P>Note that we&apos;d have added an annotation or two from JAXB 2 to achieve the following. Namely adding @XmlIDREF to the setDataSource property</P>
+
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-java">&lt;cheese dataSource=<SPAN class="code-quote">&quot;customerDb&quot;</SPAN> timeout=<SPAN class="code-quote">&quot;456&quot;</SPAN>/&gt;</PRE>
+</DIV></DIV>
+
+<H2><A name="AnnotationbasedDependencyInjection-IntegratingwithexistingIoCcontainers"></A>Integrating with existing IoC containers</H2>
+
+<P>We should be able to add the lifecycle annotations to any existing lifecycle interfaces we have. e.g. </P>
+
+<UL>
+	<LI>in Spring it&apos;d be the InitializingBean and DisposableBean.</LI>
+	<LI>in many libraries there is a Service interface of some kind with start/stop in it.</LI>
+</UL>
+
+
+<P>So by adapting the existing lifecycle interfaces folks have to the DI containers we&apos;d be able to move to ANDI while still supporting existing IoC containers like Spring POJOs etc.</P>
+
+<H3><A name="AnnotationbasedDependencyInjection-Dealingwithlegacycode"></A>Dealing with legacy code</H3>
+
+<P>Lots of code today uses old lifecycle interfaces. Lots of this code has been around for a while and will not be moving to exclusive Java 5 only any time soon. So supporting a simple way to wire in lifecycle interfaces to AnDI containers would be useful. Here&apos;s one suggestion for how we can do it.</P>
+
+<UL>
+	<LI>if a POJO has no lifecycle annotations, look on the classpath for text files <B>META-INF/services/jsr-250/lifecycle</B> files. If there are any files parse them. They should be of the form</LI>
+</UL>
+
+
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-java">interfaceName#methodName = PostConstruct
+interfaceName#methodName = PreDestroy</PRE>
+</DIV></DIV>
+
+<P>e.g. to support any Spring POJO just ensure the following is on the classpath.</P>
+
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-java">org.springframework.beans.factory.InitializingBean#afterPropertiesSet = PostConstruct
+org.springframework.beans.factory.DisposableBean#destroy = PreDestroy</PRE>
+</DIV></DIV>
+
+<H2><A name="AnnotationbasedDependencyInjection-ExposingtheIoCcontainertoJavacode"></A>Exposing the IoC container to Java code</H2>
+
+<P>A natural way to expose the IoC container to Java code is via a JNDI provider. That way folks can write to the JNDI standard to look up POJOs in the initial context, nor navigate to child contexts without using an IoC container-specific API.</P>
+
+<H2><A name="AnnotationbasedDependencyInjection-IssueswithJSR250"></A>Issues with JSR 250</H2>
+
+<UL>
+	<LI>currently JSR 250 says that @PostConstruct and @PreDestroy cannot throw exceptions. Pretty much every example we could find do throw checked exceptions. e.g. Spring, Pico, ActiveMQ, GBeans etc. So we&apos;d like that restriction removed so that the methods can throw any exceptions they wish. Afterall - its easy for the container to catch any exceptions (and they usually do anyway) - its more work for the component developer to catch &amp; wrap as runtime exceptions.</LI>
+	<LI>we are currently using @Resource to indicate a kind of <EM>@Mandatory</EM>; namely that anything marked with @Resource is a mandatory property/field. Ideally we&apos;d have preferred @Mandatory as this purely denotes mandatory versus optional semantics and does not imply looking up of resources in a naming context, but I guess @Resource is an OK substitute for now?</LI>
+</UL>
+
+
+<P>Note that lifecycle annotations like @PostConstruct and @PreDestroy can be used on methods on an interface (such as in Spring&apos;s <SPAN class="nobr"><A href="http://static.springframework.org/spring/docs/1.2.x/api/org/springframework/beans/factory/InitializingBean.html#afterPropertiesSet()" title="Visit page outside Confluence" rel="nofollow">InitializingBean<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN> and <SPAN class="nobr"><A href="http://static.springframework.org/spring/docs/1.2.x/api/org/springframework/beans/factory/DisposableBean.html#destroy()" title="Visit page outside Confluence" rel="nofollow">DisposableBean<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN>) and then be inherited on any POJO.</P>
+
+<H2><A name="AnnotationbasedDependencyInjection-Credits"></A>Credits</H2>
+
+<P>Many thanks to <SPAN class="nobr"><A href="http://www.jroller.com/page/fate" title="Visit page outside Confluence" rel="nofollow">Hani Suleiman<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN> for help creating this document and giving feedback from the JSR 250 expert group.</P></DIV>
+          
+                  <DIV class="tabletitle">
+            Children
+            <SPAN class="smalltext" id="show" style="display: inline;">
+              <A href="javascript:showChildren()">Show Children</A></SPAN>
+            <SPAN class="smalltext" id="hide" style="display: none;">
+              <A href="javascript:hideChildren()">Hide Children</A></SPAN>
+          </DIV>
+          <DIV class="greybox" id="children" style="display: none;">
+                                      <A href="other-annotations.html" title="Other Annotations">Other Annotations</A>
+              <SPAN class="smalltext">(XBean)</SPAN>
+              <BR>
+                      </DIV>
+                  </DIV>
+        </TD>
+      </TR>
+      </TABLE>     
+      </DIV>
+    </DIV>
+    <DIV id="site-footer">
+          Added by     <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan">James Strachan</A>,
+    last edited by     <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan">James Strachan</A> on Apr 03, 2006
+                  &nbsp;(<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=4780&originalId=4811">view change</A>)
+              
+      (<A href="http://goopen.org/confluence/pages/editpage.action?pageId=4780">edit page</A>)
+    </DIV>
+
+  </BODY>
+
+</HTML>
\ No newline at end of file

Added: geronimo/xbean/site/banner.html
URL: http://svn.apache.org/viewcvs/geronimo/xbean/site/banner.html?rev=406980&view=auto
==============================================================================
--- geronimo/xbean/site/banner.html (added)
+++ geronimo/xbean/site/banner.html Tue May 16 09:19:08 2006
@@ -0,0 +1,155 @@
+
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<HTML>
+  <HEAD>
+    <LINK type="text/css" rel="stylesheet" href="resources/space.css">
+    <SCRIPT src="resources/space.js" type="text/javascript"></SCRIPT>
+    <TITLE>
+Banner
+    </TITLE>
+  <META http-equiv="Content-Type" content="text/html;charset=UTF-8"></HEAD>
+  <BODY onload="init()">
+
+    <!-- Banner -->
+    <DIV id="site-banner">
+
+      <TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
+        <TR>
+          <TD align="left" class="topbardiv" nowrap="">
+            <DIV style="color:black; font-size:32pt; font-weight:bold;">XBean</DIV>
+          </TD>
+          <TD align="right" nowrap="">
+            <IMG border="0" src="http://geronimo.apache.org/images/topleft_logo_437x64.gif">
+          </TD>
+        </TR> 
+      </TABLE>
+
+    </DIV>
+
+    <!-- Bread crumbs and Quick Links -->
+    <DIV id="site-navbar">
+      <TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
+        <TR>
+          <TD align="left" valign="middle" nowrap="">
+            <DIV id="site-breadcrumbs">
+<A href="home.html" title="XBean">XBean</A>&nbsp;&gt;&nbsp;<A href="home.html" title="Home">Home</A>&nbsp;&gt;&nbsp;<A href="" title="Banner">Banner</A>
+            </DIV>
+          </TD>
+          <TD align="right" valign="middle" nowrap="">
+            <DIV id="site-quicklinks">
+
+<P><A href="download.html" title="Download">Download</A> | <SPAN class="nobr"><A href="http://xbean.codehaus.org/maven/apidocs/" title="Visit page outside Confluence" rel="nofollow">JavaDocs<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN> | <A href="source.html" title="Source">Source</A> | <SPAN class="nobr"><A href="http://docs.codehaus.org/pages/listpages.action?key=XB" title="Visit page outside Confluence" rel="nofollow">Wiki<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN> | <A href="lists.html" title="Lists">Mailing Lists</A> | <SPAN class="nobr"><A href="http://jira.codehaus.org/browse/XB" title="Visit page outside Confluence" rel="nofollow">Support<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" heigh
 t="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></P>
+            </DIV>
+          </TD>
+        </TR> 
+      </TABLE>
+    </DIV>
+
+<!-- Integrate google search later.
+          <form name="search" action="http://www.google.com/search" method="get">
+            <input type="hidden" name="ie" value="UTF- 8" />
+            <input type="hidden" name="oe" value="UTF- 8" />
+            <input type="hidden" name="domains" value="" />
+            <input type="hidden" name="sitesearch" value="" />
+            <input type="text" name="q" maxlength="255" value="" />        
+            <input type="submit" name="btnG" value="Google Search" />
+          </form>
+-->
+
+      <DIV id="site-content">
+        <TABLE>
+        <TR>
+        <TD valign="top">
+          <DIV id="site-navigation">
+<H3><A name="Navigation-Overview"></A>Overview</H3>
+<UL class="alternate" type="square">
+	<LI><A href="home.html" title="Home">Home</A></LI>
+	<LI><A href="news.html" title="News">News</A></LI>
+	<LI><A href="faq.html" title="FAQ">FAQ</A></LI>
+	<LI><A href="download.html" title="Download">Download</A></LI>
+</UL>
+
+
+<H3><A name="Navigation-Features"></A>Features</H3>
+<UL class="alternate" type="square">
+	<LI><A href="custom-xml.html" title="Custom XML">Custom XML</A></LI>
+	<LI><A href="editing-custom-xml.html" title="Editing Custom XML">Editing Custom XML</A></LI>
+	<LI><A href="xbean-ant-task.html" title="XBean Ant Task">XBean Ant Task</A></LI>
+	<LI><A href="annotation-based-dependency-injection.html" title="Annotation based Dependency Injection">AnDI</A></LI>
+</UL>
+
+
+<H3><A name="Navigation-RelatedProjects"></A>Related Projects</H3>
+<UL class="alternate" type="square">
+	<LI><SPAN class="nobr"><A href="http://www.springframework.org/" title="Visit page outside Confluence" rel="nofollow">Spring<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><SPAN class="nobr"><A href="http://geronimo.apache.org/" title="Visit page outside Confluence" rel="nofollow">Geronimo<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><SPAN class="nobr"><A href="http://activemq.org/" title="Visit page outside Confluence" rel="nofollow">ActiveMQ<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><SPAN class="nobr"><A href="http://openejb.org/" title="Visit page outside Confluence" rel="nofollow">OpenEJB<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><SPAN class="nobr"><A href="http://jencks.org/" title="Visit page outside Confluence" rel="nofollow">Jencks<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><SPAN class="nobr"><A href="http://servicemix.org/" title="Visit page outside Confluence" rel="nofollow">ServiceMix<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+</UL>
+
+
+<H3><A name="Navigation-Support"></A>Support</H3>
+<UL class="alternate" type="square">
+	<LI><SPAN class="nobr"><A href="http://jira.codehaus.org/browse/XB" title="Visit page outside Confluence" rel="nofollow">Issues<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><SPAN class="nobr"><A href="http://jira.codehaus.org/browse/XB?report=com.atlassian.jira.plugin.system.project:roadmap-panel" title="Visit page outside Confluence" rel="nofollow">Roadmap<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><SPAN class="nobr"><A href="http://jira.codehaus.org/browse/XB?report=com.atlassian.jira.plugin.system.project:changelog-panel" title="Visit page outside Confluence" rel="nofollow">Change log<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+</UL>
+
+
+<H3><A name="Navigation-Community"></A>Community</H3>
+<UL class="alternate" type="square">
+	<LI><SPAN class="nobr"><A href="http://docs.codehaus.org/pages/listpages.action?key=XB" title="Visit page outside Confluence" rel="nofollow">Wiki<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><A href="lists.html" title="Lists">Mailing Lists</A></LI>
+	<LI><A href="contributor.html" title="Contributor">Who We Are</A></LI>
+	<LI><SPAN class="nobr"><A href="http://goopen.org/confluence/pages/createpage.action?spaceKey=XB&title=Contributing&linkCreation=true&fromPageId=4782" title="Create Page: Contributing" class="createlink">Contributing<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/plus.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+</UL>
+
+
+<H3><A name="Navigation-Developers"></A>Developers</H3>
+<UL class="alternate" type="square">
+	<LI><A href="source.html" title="Source">Source Code</A></LI>
+	<LI><SPAN class="nobr"><A href="http://www.xbean.org/maven/apidocs/index.html" title="Visit page outside Confluence" rel="nofollow">JavaDocs<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><SPAN class="nobr"><A href="http://www.xbean.org/maven/xref/index.html" title="Visit page outside Confluence" rel="nofollow">Source XRef<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><SPAN class="nobr"><A href="http://www.xbean.org/maven/xref-test/index.html" title="Visit page outside Confluence" rel="nofollow">Test Source XRef<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><A href="release-procedure.html" title="Release Procedure">Release Procedure</A></LI>
+</UL>
+
+          </DIV>
+        </TD>
+        <TD valign="top">
+          <DIV id="site-page">
+
+<!--          
+            <div class="pagetitle">Banner</div>
+-->
+            <DIV class="wiki-content">
+      <TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
+        <TR>
+          <TD align="left" class="topbardiv" nowrap="">
+            <DIV style="color:black; font-size:32pt; font-weight:bold;">XBean</DIV>
+          </TD>
+          <TD align="right" nowrap="">
+            <IMG border="0" src="http://geronimo.apache.org/images/topleft_logo_437x64.gif">
+          </TD>
+        </TR> 
+      </TABLE>
+</DIV>
+          
+                  </DIV>
+        </TD>
+      </TR>
+      </TABLE>     
+      </DIV>
+    </DIV>
+    <DIV id="site-footer">
+          Added by     <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=chirino">Hiram Chirino</A>,
+    last edited by     <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=chirino">Hiram Chirino</A> on May 05, 2006
+                  
+      (<A href="http://goopen.org/confluence/pages/editpage.action?pageId=4987">edit page</A>)
+    </DIV>
+
+  </BODY>
+
+</HTML>
\ No newline at end of file

Added: geronimo/xbean/site/contributor.html
URL: http://svn.apache.org/viewcvs/geronimo/xbean/site/contributor.html?rev=406980&view=auto
==============================================================================
--- geronimo/xbean/site/contributor.html (added)
+++ geronimo/xbean/site/contributor.html Tue May 16 09:19:08 2006
@@ -0,0 +1,196 @@
+
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<HTML>
+  <HEAD>
+    <LINK type="text/css" rel="stylesheet" href="resources/space.css">
+    <SCRIPT src="resources/space.js" type="text/javascript"></SCRIPT>
+    <TITLE>
+Contributor
+    </TITLE>
+  <META http-equiv="Content-Type" content="text/html;charset=UTF-8"></HEAD>
+  <BODY onload="init()">
+
+    <!-- Banner -->
+    <DIV id="site-banner">
+
+      <TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
+        <TR>
+          <TD align="left" class="topbardiv" nowrap="">
+            <DIV style="color:black; font-size:32pt; font-weight:bold;">XBean</DIV>
+          </TD>
+          <TD align="right" nowrap="">
+            <IMG border="0" src="http://geronimo.apache.org/images/topleft_logo_437x64.gif">
+          </TD>
+        </TR> 
+      </TABLE>
+
+    </DIV>
+
+    <!-- Bread crumbs and Quick Links -->
+    <DIV id="site-navbar">
+      <TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
+        <TR>
+          <TD align="left" valign="middle" nowrap="">
+            <DIV id="site-breadcrumbs">
+<A href="home.html" title="XBean">XBean</A>&nbsp;&gt;&nbsp;<A href="home.html" title="Home">Home</A>&nbsp;&gt;&nbsp;<A href="navigation.html" title="Navigation">Navigation</A>&nbsp;&gt;&nbsp;<A href="" title="Contributor">Contributor</A>
+            </DIV>
+          </TD>
+          <TD align="right" valign="middle" nowrap="">
+            <DIV id="site-quicklinks">
+
+<P><A href="download.html" title="Download">Download</A> | <SPAN class="nobr"><A href="http://xbean.codehaus.org/maven/apidocs/" title="Visit page outside Confluence" rel="nofollow">JavaDocs<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN> | <A href="source.html" title="Source">Source</A> | <SPAN class="nobr"><A href="http://docs.codehaus.org/pages/listpages.action?key=XB" title="Visit page outside Confluence" rel="nofollow">Wiki<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN> | <A href="lists.html" title="Lists">Mailing Lists</A> | <SPAN class="nobr"><A href="http://jira.codehaus.org/browse/XB" title="Visit page outside Confluence" rel="nofollow">Support<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" heigh
 t="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></P>
+            </DIV>
+          </TD>
+        </TR> 
+      </TABLE>
+    </DIV>
+
+<!-- Integrate google search later.
+          <form name="search" action="http://www.google.com/search" method="get">
+            <input type="hidden" name="ie" value="UTF- 8" />
+            <input type="hidden" name="oe" value="UTF- 8" />
+            <input type="hidden" name="domains" value="" />
+            <input type="hidden" name="sitesearch" value="" />
+            <input type="text" name="q" maxlength="255" value="" />        
+            <input type="submit" name="btnG" value="Google Search" />
+          </form>
+-->
+
+      <DIV id="site-content">
+        <TABLE>
+        <TR>
+        <TD valign="top">
+          <DIV id="site-navigation">
+<H3><A name="Navigation-Overview"></A>Overview</H3>
+<UL class="alternate" type="square">
+	<LI><A href="home.html" title="Home">Home</A></LI>
+	<LI><A href="news.html" title="News">News</A></LI>
+	<LI><A href="faq.html" title="FAQ">FAQ</A></LI>
+	<LI><A href="download.html" title="Download">Download</A></LI>
+</UL>
+
+
+<H3><A name="Navigation-Features"></A>Features</H3>
+<UL class="alternate" type="square">
+	<LI><A href="custom-xml.html" title="Custom XML">Custom XML</A></LI>
+	<LI><A href="editing-custom-xml.html" title="Editing Custom XML">Editing Custom XML</A></LI>
+	<LI><A href="xbean-ant-task.html" title="XBean Ant Task">XBean Ant Task</A></LI>
+	<LI><A href="annotation-based-dependency-injection.html" title="Annotation based Dependency Injection">AnDI</A></LI>
+</UL>
+
+
+<H3><A name="Navigation-RelatedProjects"></A>Related Projects</H3>
+<UL class="alternate" type="square">
+	<LI><SPAN class="nobr"><A href="http://www.springframework.org/" title="Visit page outside Confluence" rel="nofollow">Spring<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><SPAN class="nobr"><A href="http://geronimo.apache.org/" title="Visit page outside Confluence" rel="nofollow">Geronimo<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><SPAN class="nobr"><A href="http://activemq.org/" title="Visit page outside Confluence" rel="nofollow">ActiveMQ<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><SPAN class="nobr"><A href="http://openejb.org/" title="Visit page outside Confluence" rel="nofollow">OpenEJB<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><SPAN class="nobr"><A href="http://jencks.org/" title="Visit page outside Confluence" rel="nofollow">Jencks<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><SPAN class="nobr"><A href="http://servicemix.org/" title="Visit page outside Confluence" rel="nofollow">ServiceMix<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+</UL>
+
+
+<H3><A name="Navigation-Support"></A>Support</H3>
+<UL class="alternate" type="square">
+	<LI><SPAN class="nobr"><A href="http://jira.codehaus.org/browse/XB" title="Visit page outside Confluence" rel="nofollow">Issues<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><SPAN class="nobr"><A href="http://jira.codehaus.org/browse/XB?report=com.atlassian.jira.plugin.system.project:roadmap-panel" title="Visit page outside Confluence" rel="nofollow">Roadmap<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><SPAN class="nobr"><A href="http://jira.codehaus.org/browse/XB?report=com.atlassian.jira.plugin.system.project:changelog-panel" title="Visit page outside Confluence" rel="nofollow">Change log<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+</UL>
+
+
+<H3><A name="Navigation-Community"></A>Community</H3>
+<UL class="alternate" type="square">
+	<LI><SPAN class="nobr"><A href="http://docs.codehaus.org/pages/listpages.action?key=XB" title="Visit page outside Confluence" rel="nofollow">Wiki<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><A href="lists.html" title="Lists">Mailing Lists</A></LI>
+	<LI><A href="" title="Contributor">Who We Are</A></LI>
+	<LI><SPAN class="nobr"><A href="http://goopen.org/confluence/pages/createpage.action?spaceKey=XB&title=Contributing&linkCreation=true&fromPageId=4782" title="Create Page: Contributing" class="createlink">Contributing<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/plus.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+</UL>
+
+
+<H3><A name="Navigation-Developers"></A>Developers</H3>
+<UL class="alternate" type="square">
+	<LI><A href="source.html" title="Source">Source Code</A></LI>
+	<LI><SPAN class="nobr"><A href="http://www.xbean.org/maven/apidocs/index.html" title="Visit page outside Confluence" rel="nofollow">JavaDocs<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><SPAN class="nobr"><A href="http://www.xbean.org/maven/xref/index.html" title="Visit page outside Confluence" rel="nofollow">Source XRef<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><SPAN class="nobr"><A href="http://www.xbean.org/maven/xref-test/index.html" title="Visit page outside Confluence" rel="nofollow">Test Source XRef<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><A href="release-procedure.html" title="Release Procedure">Release Procedure</A></LI>
+</UL>
+
+          </DIV>
+        </TD>
+        <TD valign="top">
+          <DIV id="site-page">
+
+<!--          
+            <div class="pagetitle">Contributor</div>
+-->
+            <DIV class="wiki-content">
+<H2><A name="Contributor-TheTeam"></A>The Team</H2>
+
+<P>A successful project requires many people to play many roles. Some members write code or documentation, while others are valuable as testers, submitting patches and suggestions.</P>
+
+<P>The team is comprised of Members and Contributors. Members have direct access to the source of a project and actively evolve the code-base. Contributors improve the project through submission of patches and suggestions to the Members. The number of Contributors to the project is unbounded. Get involved today! All contributions to the project are greatly appreciated.</P>
+
+<H2><A name="Contributor-Members"></A>Members</H2>
+<P>The following is a list of developers with commit privileges that have directly contributed to the project in one way or another.</P>
+
+<TABLE class="confluenceTable"><TBODY>
+<TR>
+<TH class="confluenceTh">Name</TH>
+<TH class="confluenceTh">Email</TH>
+<TH class="confluenceTh">Role</TH>
+</TR>
+<TR>
+<TD class="confluenceTd">David Blevins</TD>
+<TD class="confluenceTd">&nbsp;</TD>
+<TD class="confluenceTd">Committer</TD>
+</TR>
+<TR>
+<TD class="confluenceTd">Alan Cabrera</TD>
+<TD class="confluenceTd">&nbsp;</TD>
+<TD class="confluenceTd">Committer</TD>
+</TR>
+<TR>
+<TD class="confluenceTd">Hiram Chirino</TD>
+<TD class="confluenceTd">&nbsp;</TD>
+<TD class="confluenceTd">Committer</TD>
+</TR>
+<TR>
+<TD class="confluenceTd">Rob Davies</TD>
+<TD class="confluenceTd">&nbsp;</TD>
+<TD class="confluenceTd">Committer</TD>
+</TR>
+<TR>
+<TD class="confluenceTd">Aaron Mulder</TD>
+<TD class="confluenceTd">ammulder@alumni.princeton.edu</TD>
+<TD class="confluenceTd">Committer</TD>
+</TR>
+<TR>
+<TD class="confluenceTd">James Strachan</TD>
+<TD class="confluenceTd">jstrachan@logicblaze.com</TD>
+<TD class="confluenceTd">Despot</TD>
+</TR>
+<TR>
+<TD class="confluenceTd">Dain Sundstrom</TD>
+<TD class="confluenceTd">dain@iq80.com</TD>
+<TD class="confluenceTd">Despot</TD>
+</TR>
+</TBODY></TABLE>
+</DIV>
+          
+                  </DIV>
+        </TD>
+      </TR>
+      </TABLE>     
+      </DIV>
+    </DIV>
+    <DIV id="site-footer">
+          Added by     <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan">James Strachan</A>,
+    last edited by     <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan">James Strachan</A> on Oct 10, 2005
+                  
+      (<A href="http://goopen.org/confluence/pages/editpage.action?pageId=4795">edit page</A>)
+    </DIV>
+
+  </BODY>
+
+</HTML>
\ No newline at end of file

Added: geronimo/xbean/site/custom-xml.html
URL: http://svn.apache.org/viewcvs/geronimo/xbean/site/custom-xml.html?rev=406980&view=auto
==============================================================================
--- geronimo/xbean/site/custom-xml.html (added)
+++ geronimo/xbean/site/custom-xml.html Tue May 16 09:19:08 2006
@@ -0,0 +1,327 @@
+
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<HTML>
+  <HEAD>
+    <LINK type="text/css" rel="stylesheet" href="resources/space.css">
+    <SCRIPT src="resources/space.js" type="text/javascript"></SCRIPT>
+    <TITLE>
+Custom XML
+    </TITLE>
+  <META http-equiv="Content-Type" content="text/html;charset=UTF-8"></HEAD>
+  <BODY onload="init()">
+
+    <!-- Banner -->
+    <DIV id="site-banner">
+
+      <TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
+        <TR>
+          <TD align="left" class="topbardiv" nowrap="">
+            <DIV style="color:black; font-size:32pt; font-weight:bold;">XBean</DIV>
+          </TD>
+          <TD align="right" nowrap="">
+            <IMG border="0" src="http://geronimo.apache.org/images/topleft_logo_437x64.gif">
+          </TD>
+        </TR> 
+      </TABLE>
+
+    </DIV>
+
+    <!-- Bread crumbs and Quick Links -->
+    <DIV id="site-navbar">
+      <TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
+        <TR>
+          <TD align="left" valign="middle" nowrap="">
+            <DIV id="site-breadcrumbs">
+<A href="home.html" title="XBean">XBean</A>&nbsp;&gt;&nbsp;<A href="home.html" title="Home">Home</A>&nbsp;&gt;&nbsp;<A href="navigation.html" title="Navigation">Navigation</A>&nbsp;&gt;&nbsp;<A href="" title="Custom XML">Custom XML</A>
+            </DIV>
+          </TD>
+          <TD align="right" valign="middle" nowrap="">
+            <DIV id="site-quicklinks">
+
+<P><A href="download.html" title="Download">Download</A> | <SPAN class="nobr"><A href="http://xbean.codehaus.org/maven/apidocs/" title="Visit page outside Confluence" rel="nofollow">JavaDocs<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN> | <A href="source.html" title="Source">Source</A> | <SPAN class="nobr"><A href="http://docs.codehaus.org/pages/listpages.action?key=XB" title="Visit page outside Confluence" rel="nofollow">Wiki<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN> | <A href="lists.html" title="Lists">Mailing Lists</A> | <SPAN class="nobr"><A href="http://jira.codehaus.org/browse/XB" title="Visit page outside Confluence" rel="nofollow">Support<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" heigh
 t="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></P>
+            </DIV>
+          </TD>
+        </TR> 
+      </TABLE>
+    </DIV>
+
+<!-- Integrate google search later.
+          <form name="search" action="http://www.google.com/search" method="get">
+            <input type="hidden" name="ie" value="UTF- 8" />
+            <input type="hidden" name="oe" value="UTF- 8" />
+            <input type="hidden" name="domains" value="" />
+            <input type="hidden" name="sitesearch" value="" />
+            <input type="text" name="q" maxlength="255" value="" />        
+            <input type="submit" name="btnG" value="Google Search" />
+          </form>
+-->
+
+      <DIV id="site-content">
+        <TABLE>
+        <TR>
+        <TD valign="top">
+          <DIV id="site-navigation">
+<H3><A name="Navigation-Overview"></A>Overview</H3>
+<UL class="alternate" type="square">
+	<LI><A href="home.html" title="Home">Home</A></LI>
+	<LI><A href="news.html" title="News">News</A></LI>
+	<LI><A href="faq.html" title="FAQ">FAQ</A></LI>
+	<LI><A href="download.html" title="Download">Download</A></LI>
+</UL>
+
+
+<H3><A name="Navigation-Features"></A>Features</H3>
+<UL class="alternate" type="square">
+	<LI><A href="" title="Custom XML">Custom XML</A></LI>
+	<LI><A href="editing-custom-xml.html" title="Editing Custom XML">Editing Custom XML</A></LI>
+	<LI><A href="xbean-ant-task.html" title="XBean Ant Task">XBean Ant Task</A></LI>
+	<LI><A href="annotation-based-dependency-injection.html" title="Annotation based Dependency Injection">AnDI</A></LI>
+</UL>
+
+
+<H3><A name="Navigation-RelatedProjects"></A>Related Projects</H3>
+<UL class="alternate" type="square">
+	<LI><SPAN class="nobr"><A href="http://www.springframework.org/" title="Visit page outside Confluence" rel="nofollow">Spring<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><SPAN class="nobr"><A href="http://geronimo.apache.org/" title="Visit page outside Confluence" rel="nofollow">Geronimo<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><SPAN class="nobr"><A href="http://activemq.org/" title="Visit page outside Confluence" rel="nofollow">ActiveMQ<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><SPAN class="nobr"><A href="http://openejb.org/" title="Visit page outside Confluence" rel="nofollow">OpenEJB<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><SPAN class="nobr"><A href="http://jencks.org/" title="Visit page outside Confluence" rel="nofollow">Jencks<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><SPAN class="nobr"><A href="http://servicemix.org/" title="Visit page outside Confluence" rel="nofollow">ServiceMix<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+</UL>
+
+
+<H3><A name="Navigation-Support"></A>Support</H3>
+<UL class="alternate" type="square">
+	<LI><SPAN class="nobr"><A href="http://jira.codehaus.org/browse/XB" title="Visit page outside Confluence" rel="nofollow">Issues<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><SPAN class="nobr"><A href="http://jira.codehaus.org/browse/XB?report=com.atlassian.jira.plugin.system.project:roadmap-panel" title="Visit page outside Confluence" rel="nofollow">Roadmap<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><SPAN class="nobr"><A href="http://jira.codehaus.org/browse/XB?report=com.atlassian.jira.plugin.system.project:changelog-panel" title="Visit page outside Confluence" rel="nofollow">Change log<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+</UL>
+
+
+<H3><A name="Navigation-Community"></A>Community</H3>
+<UL class="alternate" type="square">
+	<LI><SPAN class="nobr"><A href="http://docs.codehaus.org/pages/listpages.action?key=XB" title="Visit page outside Confluence" rel="nofollow">Wiki<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><A href="lists.html" title="Lists">Mailing Lists</A></LI>
+	<LI><A href="contributor.html" title="Contributor">Who We Are</A></LI>
+	<LI><SPAN class="nobr"><A href="http://goopen.org/confluence/pages/createpage.action?spaceKey=XB&title=Contributing&linkCreation=true&fromPageId=4782" title="Create Page: Contributing" class="createlink">Contributing<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/plus.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+</UL>
+
+
+<H3><A name="Navigation-Developers"></A>Developers</H3>
+<UL class="alternate" type="square">
+	<LI><A href="source.html" title="Source">Source Code</A></LI>
+	<LI><SPAN class="nobr"><A href="http://www.xbean.org/maven/apidocs/index.html" title="Visit page outside Confluence" rel="nofollow">JavaDocs<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><SPAN class="nobr"><A href="http://www.xbean.org/maven/xref/index.html" title="Visit page outside Confluence" rel="nofollow">Source XRef<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><SPAN class="nobr"><A href="http://www.xbean.org/maven/xref-test/index.html" title="Visit page outside Confluence" rel="nofollow">Test Source XRef<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><A href="release-procedure.html" title="Release Procedure">Release Procedure</A></LI>
+</UL>
+
+          </DIV>
+        </TD>
+        <TD valign="top">
+          <DIV id="site-page">
+
+<!--          
+            <div class="pagetitle">Custom XML</div>
+-->
+            <DIV class="wiki-content">
+<P>One of the main points of using XML rather than, say, a script, to configure your application is that it allows any XML tooling to edit the configuration. We really like Spring&apos;s XML format, however it is very technical - folks need to understand the code to be able to configure the application. </P>
+
+<P>What we&apos;d like is an alternative where components can have their own namespaces and schemas which are more concise and work better in XML editing tools.</P>
+
+<P>There follows a number of examples on different ways of using custom XML syntaxes; in each case the main requirement is you use the XBean versions of the usual Spring ApplicationContext classes. e.g. use the <B>org.xbean.spring.context.ClassPathXmlApplicationContext</B> class instead of the Spring base class.</P>
+
+<P>For more information on editing the XML see <A href="editing-custom-xml.html" title="Editing Custom XML">Editing Custom XML</A>.</P>
+
+<H3><A name="CustomXML-Simpleexample"></A>Simple example</H3>
+
+<P>The simplest example uses a custom namespace starting with <B>java://</B> and ending with the Java package name to denote the package/classes to use in the XML. This avoids needing any special mapping configuration and can work with most POJOs today...</P>
+
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-xml"><SPAN class="code-tag">&lt;beans <SPAN class="code-keyword">xmlns:p</SPAN>=<SPAN class="code-quote">&quot;java://org.xbean.spring.example&quot;</SPAN>&gt;</SPAN>
+
+  <SPAN class="code-tag">&lt;p:PizzaService id=<SPAN class="code-quote">&quot;pizzaService&quot;</SPAN> topping=<SPAN class="code-quote">&quot;Salami&quot;</SPAN> cheese=<SPAN class="code-quote">&quot;Edam&quot;</SPAN> size=<SPAN class="code-quote">&quot;17&quot;</SPAN>/&gt;</SPAN>
+  
+<SPAN class="code-tag">&lt;/beans&gt;</SPAN></PRE>
+</DIV></DIV>
+
+<P>The Java POJO which this configures is shown below. Notice in the above that the element localName is the same as the class in the package from the namespace. So this mechanism works great when there is a one to one mapping of XML element names to class names in the package defined by the java:// namespace.</P>
+
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-java"><SPAN class="code-keyword">public</SPAN> class PizzaService {
+
+    <SPAN class="code-keyword">private</SPAN> <SPAN class="code-object">String</SPAN> topping;
+    <SPAN class="code-keyword">private</SPAN> <SPAN class="code-object">String</SPAN> cheese;
+    <SPAN class="code-keyword">private</SPAN> <SPAN class="code-object">int</SPAN> size;
+    <SPAN class="code-keyword">private</SPAN> <SPAN class="code-object">double</SPAN> price;
+    
+    <SPAN class="code-keyword">public</SPAN> void makePizza() {
+        <SPAN class="code-object">System</SPAN>.out.println(<SPAN class="code-quote">&quot;Making a pizza with topping: &quot;</SPAN> + topping + <SPAN class="code-quote">&quot; cheese: &quot;</SPAN> + cheese + <SPAN class="code-quote">&quot; with size: &quot;</SPAN> + size);
+    }
+
+    <SPAN class="code-keyword">public</SPAN> <SPAN class="code-object">String</SPAN> getCheese() {
+        <SPAN class="code-keyword">return</SPAN> cheese;
+    }
+
+    <SPAN class="code-keyword">public</SPAN> void setCheese(<SPAN class="code-object">String</SPAN> cheese) {
+        <SPAN class="code-keyword">this</SPAN>.cheese = cheese;
+    }
+
+    <SPAN class="code-keyword">public</SPAN> <SPAN class="code-object">double</SPAN> getPrice() {
+        <SPAN class="code-keyword">return</SPAN> price;
+    }
+
+    <SPAN class="code-keyword">public</SPAN> void setPrice(<SPAN class="code-object">double</SPAN> price) {
+        <SPAN class="code-keyword">this</SPAN>.price = price;
+    }
+
+    <SPAN class="code-keyword">public</SPAN> <SPAN class="code-object">int</SPAN> getSize() {
+        <SPAN class="code-keyword">return</SPAN> size;
+    }
+
+    <SPAN class="code-keyword">public</SPAN> void setSize(<SPAN class="code-object">int</SPAN> size) {
+        <SPAN class="code-keyword">this</SPAN>.size = size;
+    }
+
+    <SPAN class="code-keyword">public</SPAN> <SPAN class="code-object">String</SPAN> getTopping() {
+        <SPAN class="code-keyword">return</SPAN> topping;
+    }
+
+    <SPAN class="code-keyword">public</SPAN> void setTopping(<SPAN class="code-object">String</SPAN> topping) {
+        <SPAN class="code-keyword">this</SPAN>.topping = topping;
+    }
+}</PRE>
+</DIV></DIV>
+
+<H3><A name="CustomXML-CustomXMLmappings"></A>Custom XML mappings</H3>
+
+<P>This example shows how to customise the mapping of XML to POJOs using a discovery-properties file. Using the same POJO as above, here&apos;s an example of the XML</P>
+
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-xml"><SPAN class="code-tag">&lt;beans <SPAN class="code-keyword">xmlns:p</SPAN>=<SPAN class="code-quote">&quot;http://xbean.org/schemas/pizza&quot;</SPAN>&gt;</SPAN>
+
+  <SPAN class="code-tag">&lt;p:pizza id=<SPAN class="code-quote">&quot;pizzaService&quot;</SPAN> myTopping=<SPAN class="code-quote">&quot;Salami&quot;</SPAN> cheese=<SPAN class="code-quote">&quot;Edam&quot;</SPAN> size=<SPAN class="code-quote">&quot;17&quot;</SPAN>/&gt;</SPAN>
+  
+<SPAN class="code-tag">&lt;/beans&gt;</SPAN></PRE>
+</DIV></DIV>
+
+<P>Notice that we are using our own custom namespace here and using a custom element name too. To inform the XBean XML parser of your new custom mapping you need to create a properties file on the classpath at <B>META-INF/services/org/xbean/spring/$namespace</B>. The namespace is encoded to take out : and // etc. </P>
+
+<P>So in the above example we need to include this properties file in <SPAN class="nobr"><A href="http://svn.gbean.codehaus.org/trunk/spring/src/test/META-INF/services/org/xbean/spring/http/xbean.org/schemas/" title="Visit page outside Confluence" rel="nofollow">META-INF/services/org/xbean/spring/http/xbean.org/schemas/pizza<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN>. The contents of the file are here</P>
+
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-none"># the default package that POJOs are in
+package = org.xbean.spring.example
+
+# Mapping of XML Element localNames to classes 
+pizza = org.xbean.spring.example.PizzaService
+
+# Mapping of XML Attributes to property names
+pizza.myTopping = topping</PRE>
+</DIV></DIV>
+
+<P>Notice that we are renaming both XML element names to classes and XML attribute names to different property names. The renaming of properties can be useful to avoid clashes with standard Spring attributes like &quot;id&quot;, &quot;class&quot;, &quot;ref&quot; etc.</P>
+
+<H3><A name="CustomXML-Constructorinjection"></A>Constructor injection</H3>
+
+<P>This example shows how to customise the mapping of XML to POJOs which use constructor injection. For this example, we are going to configure the following bean which can only be configured using constructor injection:</P>
+
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-java"><SPAN class="code-keyword">public</SPAN> class SaladService {
+    <SPAN class="code-keyword">private</SPAN> <SPAN class="code-keyword">final</SPAN> <SPAN class="code-object">String</SPAN> dressing;
+    <SPAN class="code-keyword">private</SPAN> <SPAN class="code-keyword">final</SPAN> <SPAN class="code-object">String</SPAN> size;
+    <SPAN class="code-keyword">private</SPAN> <SPAN class="code-keyword">final</SPAN> <SPAN class="code-object">boolean</SPAN> crouton;
+
+    <SPAN class="code-keyword">public</SPAN> SaladService(<SPAN class="code-object">String</SPAN> dressing, <SPAN class="code-object">String</SPAN> size, <SPAN class="code-object">boolean</SPAN> crouton) {
+        <SPAN class="code-keyword">this</SPAN>.dressing = dressing;
+        <SPAN class="code-keyword">this</SPAN>.size = size;
+        <SPAN class="code-keyword">this</SPAN>.crouton = crouton;
+    }
+
+    <SPAN class="code-keyword">public</SPAN> <SPAN class="code-object">String</SPAN> getDressing() {
+        <SPAN class="code-keyword">return</SPAN> dressing;
+    }
+
+    <SPAN class="code-keyword">public</SPAN> <SPAN class="code-object">String</SPAN> getSize() {
+        <SPAN class="code-keyword">return</SPAN> size;
+    }
+
+    <SPAN class="code-keyword">public</SPAN> <SPAN class="code-object">boolean</SPAN> isCrouton() {
+        <SPAN class="code-keyword">return</SPAN> crouton;
+    }
+}</PRE>
+</DIV></DIV>
+
+<P>The Xml uses the same clean format as above:</P>
+
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-xml"><SPAN class="code-tag">&lt;beans <SPAN class="code-keyword">xmlns:s</SPAN>=<SPAN class="code-quote">&quot;http://xbean.org/schemas/salad&quot;</SPAN>&gt;</SPAN>
+
+  <SPAN class="code-tag">&lt;s:salad id=<SPAN class="code-quote">&quot;saladService&quot;</SPAN> dressing=<SPAN class="code-quote">&quot;Cesar&quot;</SPAN> size=<SPAN class="code-quote">&quot;Small&quot;</SPAN> addCroutons=<SPAN class="code-quote">&quot;true&quot;</SPAN>/&gt;</SPAN>
+  
+<SPAN class="code-tag">&lt;/beans&gt;</SPAN></PRE>
+</DIV></DIV>
+
+<P>In this example we use a custom namespace just like we did in the previous example.  To enable constructor injection we need to provide the constructor argument names to the XBean Spring parser in the mapping properties file as follows:</P>
+
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-none"># the default package that POJOs are in
+package = org.xbean.spring.example
+
+# Mapping of XML Element localNames to classes 
+salad = org.xbean.spring.example.SaladService
+
+# Mapping of XML Attributes to property names
+salad.addCroutons = crouton
+
+# Mapping of constructor argument names
+org.xbean.spring.example.SaladService(java.lang.String,java.lang.String,boolean).parameterNames=dressing size crouton</PRE>
+</DIV></DIV>
+
+<P>The most important element of this file is the last entry, which tell the parser that the SaladService(java.lang.String,java.lang.String,boolean) constructor parameters are named dressing, size and crouton respectively.</P>
+
+<H3><A name="CustomXML-Handlingnestedpropertieswhicharebeansorlistofbeans"></A>Handling nested properties which are beans or list of beans</H3>
+
+<P>Its quite common to want to use nested child elements to map to complex property values. The following example shows this in action...</P>
+
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-xml"><SPAN class="code-tag">&lt;beans &gt;</SPAN>
+
+  <SPAN class="code-tag">&lt;restaurant id=<SPAN class="code-quote">&quot;restaurant&quot;</SPAN> xmlns=<SPAN class="code-quote">&quot;http://xbean.org/schemas/pizza&quot;</SPAN> <SPAN class="code-keyword">xmlns:foo</SPAN>=<SPAN class="code-quote">&quot;bar&quot;</SPAN>&gt;</SPAN>
+    <SPAN class="code-tag">&lt;dinnerMenu&gt;</SPAN>
+      <SPAN class="code-tag">&lt;pizza myTopping=<SPAN class="code-quote">&quot;Ham&quot;</SPAN> cheese=<SPAN class="code-quote">&quot;Mozzarella&quot;</SPAN> size=<SPAN class="code-quote">&quot;15&quot;</SPAN>/&gt;</SPAN>
+      <SPAN class="code-tag">&lt;pizza myTopping=<SPAN class="code-quote">&quot;Eggs&quot;</SPAN> cheese=<SPAN class="code-quote">&quot;Mozzarella&quot;</SPAN> size=<SPAN class="code-quote">&quot;16&quot;</SPAN>/&gt;</SPAN>
+    <SPAN class="code-tag">&lt;/dinnerMenu&gt;</SPAN>
+
+    <SPAN class="code-tag">&lt;favourite&gt;</SPAN>
+      <SPAN class="code-tag">&lt;pizza myTopping=<SPAN class="code-quote">&quot;Salami&quot;</SPAN> cheese=<SPAN class="code-quote">&quot;Edam&quot;</SPAN> size=<SPAN class="code-quote">&quot;17&quot;</SPAN>/&gt;</SPAN>
+    <SPAN class="code-tag">&lt;/favourite&gt;</SPAN>
+  <SPAN class="code-tag">&lt;/restaurant&gt;</SPAN>
+<SPAN class="code-tag">&lt;/beans&gt;</SPAN></PRE>
+</DIV></DIV>
+
+<P>Notice that the nested element &lt;dinnerMenu&gt; maps to the collection of pizza beans which maps to a Spring &lt;property name=&quot;foo&quot;&gt;&lt;list&gt;... construct. This can be achived using the <B>pizza.dinnerMenu.list = realPropertyName</B> entry in the properties file. If there is no entry for the nested property element then introspection is used on the class to determine if its a &lt;property&gt;&lt;bean&gt;... or &lt;property&gt;&lt;list&gt;&lt;bean&gt;... style property.</P>
+
+<P>Also we can handle non-list nested properties, such as the &lt;favourite&gt; element which maps to a &lt;property name=&quot;foo&quot;&gt;... construct. Again XBean will default to using introspection if necessary, otherwise you can configure this using the <B>pizza.favourite = realPropertyName</B> construct.</P>
+
+<H3><A name="CustomXML-Moretools"></A>More tools</H3>
+
+<P>If you want to automatically generate HTML documentation for your XML configuration or to auto-generate the META-INF/services/* properties file or to make an XSD for your XML then please checkout the <A href="xbean-ant-task.html" title="XBean Ant Task">XBean Ant Task</A></P></DIV>
+          
+                  </DIV>
+        </TD>
+      </TR>
+      </TABLE>     
+      </DIV>
+    </DIV>
+    <DIV id="site-footer">
+          Added by     <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan">James Strachan</A>,
+    last edited by     <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan">James Strachan</A> on Oct 26, 2005
+                  &nbsp;(<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=4790&originalId=4858">view change</A>)
+              
+      (<A href="http://goopen.org/confluence/pages/editpage.action?pageId=4790">edit page</A>)
+    </DIV>
+
+  </BODY>
+
+</HTML>
\ No newline at end of file