George,<br><br>You could do something like Seam Render having the API for rendering/generating of documents, with some basic implementations like velocity/freemarker templating, which is used within Seam Mail.<br><br>Then Seam Reports, as well as doing a lot more, could implement the Seam Render generation API for Jasper/BIRT/etc.<br>
<br>That way, Seam Render can be used when you want basic templating/generation and Seam Reports supports taking it to the next level with advanced document generation, which then allows Seam Mail (or any other module) to support the basic generation of Seam Render in the beginning but then also provide optional functionality that requires Seam Reports for the more advanced generation.<br>
<br>I know it&#39;s a fine balance between making the modules too light and making them too heavy, but I think this could be a good separation.<br><br>Ken<br><br><br><div class="gmail_quote">On Wed, May 18, 2011 at 10:21 AM, George Gastaldi <span dir="ltr">&lt;<a href="mailto:gegastaldi@gmail.com">gegastaldi@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;">Hello Ken !<br>
<br>
The initial proposal was to extract the Seam Mail classes onto Seam<br>
Reports. Seam Render would be moved to there also.<br>
<br>
Thinking better, I guess that it would be better if Seam Reports<br>
depended on Seam Render and Seam Mail be left as it is.<br>
<br>
What do you guys think ? Suggestions welcome,<br>
<br>
George<br>
<br>
<br>
2011/5/18 Ken Finnigan &lt;<a href="mailto:ken@kenfinnigan.me">ken@kenfinnigan.me</a>&gt;:<br>
<div><div></div><div class="h5">&gt; Hi George,<br>
&gt;<br>
&gt; Just wanted to clarify whether you mean that the classes from Seam Mail for<br>
&gt; rendering would be extracted out into the Seam Render module or Seam<br>
&gt; Reports?  The way I read it it could be either way.<br>
&gt;<br>
&gt; If the former, then I think that would be a good idea.  If the latter, then<br>
&gt; I&#39;d be concerned about the linkages to Reports from Mail.<br>
&gt;<br>
&gt; Regards<br>
&gt; Ken<br>
&gt;<br>
&gt;<br>
&gt; On Tue, May 17, 2011 at 6:34 PM, George Gastaldi &lt;<a href="mailto:gegastaldi@gmail.com">gegastaldi@gmail.com</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hello All !<br>
&gt;&gt;<br>
&gt;&gt; Seam Reports is a portable extension for Java EE that provides APIs<br>
&gt;&gt; for compiling, populating and rendering reports (Excel, PDF, etc) from<br>
&gt;&gt; existing report frameworks (JasperReports, etc).<br>
&gt;&gt;<br>
&gt;&gt; I invite anyone to try it and join it when possible.<br>
&gt;&gt; The module page for Seam Reports is online also:<br>
&gt;&gt; <a href="http://seamframework.org/Seam3/ReportsModule" target="_blank">http://seamframework.org/Seam3/ReportsModule</a><br>
&gt;&gt;<br>
&gt;&gt; Now that you are familiar with the subject, Iīll share some thoughts below<br>
&gt;&gt; ! :D<br>
&gt;&gt;<br>
&gt;&gt; I have spoken with Jason Porter and Pete Royle about incorporating<br>
&gt;&gt; Seam Render capabilities on this module also.<br>
&gt;&gt; The idea is, since this module produces documents, it would be nice to<br>
&gt;&gt; extract the classes used for rendering content on Seam Mail, for<br>
&gt;&gt; example to this module.<br>
&gt;&gt; The inter-module dependencies should not be required at first glance<br>
&gt;&gt; (Maybe from API).<br>
&gt;&gt; It would be nice if this module provided an API for generating some<br>
&gt;&gt; content (letīs say, use Velocity to generate a XHTML and XHTMLRenderer<br>
&gt;&gt; - <a href="https://xhtmlrenderer.dev.java.net" target="_blank">https://xhtmlrenderer.dev.java.net</a> - to generate a PDF for example)<br>
&gt;&gt; .<br>
&gt;&gt; So whenever you need to render a document, the answer is straight<br>
&gt;&gt; clear: use Seam Reports :)<br>
&gt;&gt;<br>
&gt;&gt; What do you guys think ?<br>
&gt;&gt;<br>
&gt;&gt; Regards,<br>
&gt;&gt;<br>
&gt;&gt; George Gastaldi<br>
&gt;&gt; -------------------------------------------<br>
&gt;&gt; Seam Reports Module Leader<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; seam-dev mailing list<br>
&gt;&gt; <a href="mailto:seam-dev@lists.jboss.org">seam-dev@lists.jboss.org</a><br>
&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/seam-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/seam-dev</a><br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br>