<div class="gmail_quote">On Tue, Apr 6, 2010 at 7:50 PM, Dan Allen <span dir="ltr">&lt;<a href="mailto:dan.j.allen@gmail.com">dan.j.allen@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
As promised, I have put together a page detailing the anatomy of a module project in Seam 3. Please consider this a draft document and feel free to provide feedback if there&#39;s something that doesn&#39;t seem agreeable to you. Also, if you think there is an important detail missing, or an inconsistency appears over time, please let us know.<div>

<br></div><div><a href="http://seamframework.org/Seam3/ModuleAnatomy" target="_blank">http://seamframework.org/Seam3/ModuleAnatomy</a></div><div><br></div><div>Keep in mind that there are many different ways we could structure the modules. What is important is that the structure is reasonable and that it is consistent across modules. Contributors should be able to comfortable move between modules and be familiar with how the code is setup.</div>

<div><br></div></blockquote><div> </div><div>For those of you who haven&#39;t clicked through, we are suggesting that the main code go in the folder &quot;impl&quot; rather than &quot;core&quot;.</div><div><br></div><div>
Action item: rename core folder to impl</div><div><br></div><div>This allows room for introducing of an &quot;api&quot; folder to hold the public APIs. We want to be good about splitting the API code (which the developer&#39;s application will link to) and the implementation code, which is all the behind the scenes magic that the developer should never see or care about. I explain on the page how this structure accommodates the creation of proper public API JavaDocs.</div>
<div><br></div><div>Case in point. The beloved StatusMessages component from Seam 2 is an API class. Whereas an CDI Extension implementation is definitely an implementation class.</div><div><br></div><div>-Dan</div><div> </div>
</div>-- <br>Dan Allen<br>Senior Software Engineer, Red Hat | Author of Seam in Action<br>Registered Linux User #231597<br><br><a href="http://mojavelinux.com">http://mojavelinux.com</a><br><a href="http://mojavelinux.com/seaminaction">http://mojavelinux.com/seaminaction</a><br>
<a href="http://www.google.com/profiles/dan.j.allen">http://www.google.com/profiles/dan.j.allen</a><br>