You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by ni...@apache.org on 2002/07/08 20:00:14 UTC

cvs commit: jakarta-avalon-excalibur/tweety/src/xdocs avalon-container-howto.xml

nicolaken    2002/07/08 11:00:14

  Modified:    tweety/src/xdocs avalon-container-howto.xml
  Log:
  Adding prerequisites to Container HOWTO read, ie Lifecycle.
  Added also a simple tip on the difference between Egg and Tweety, to show what Container conceptually means.
  
  Revision  Changes    Path
  1.3       +23 -2     jakarta-avalon-excalibur/tweety/src/xdocs/avalon-container-howto.xml
  
  Index: avalon-container-howto.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/tweety/src/xdocs/avalon-container-howto.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- avalon-container-howto.xml	8 Jul 2002 17:42:16 -0000	1.2
  +++ avalon-container-howto.xml	8 Jul 2002 18:00:14 -0000	1.3
  @@ -5,13 +5,34 @@
       <title>The Avalon Container HOWTO - Overview</title>
       <authors>
         <person name="Leo Simons" email="leosimons@apache.org"/>
  +      <person name="Nicola Ken Barozzi" email="nicolaken@apache.org"/>      
       </authors>
     </header>
     <body>
  -	<s1 title="So you want to build your won container, huh?">
  +    <s1 title="Prerequisites">
  +		<p>Question: Do you know what Lifecycle in Avalon is? Ok, start reading.</p>
  +		<p>If not, look at Egg and understand this concept before reading about Containers.</p>
  +    </s1>
  +    
  +	<s1 title="Do I really know what a Container is?">
   		<p>Well, you're mostly on your own for now. We're still working
   		on the entire concept of container and on the various containers
   		that ship with avalon.</p>
  +
  +		<p>Anyway, Tweety.java conceptually is a Container. Look at the difference between
  +		   Tweety and Egg, and you'll see that the main difference are:
  +		
  +  		  <ul>
  +		    <li>Egg has just main(), while Main calles Tweety, ie The application (Main) uses the container (Tweety)</li>
  +		    <li>Tweety is a Container but also a Component; this is important, because it could contain
  +		        itself hierarchically.</li>
  +		  </ul>   
  +		   
  +		 </p>
  +		
  +	</s1>    
  +
  +	<s1 title="So you want to build your won container, huh?">
   
   		<p>For now, I suggest you check out the sources for Tweety
   		(inside the <code>jakarta-avalon-excalibur</code> CVS module),
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>