Good work. Making the module portable to both jackrabbit and modeshape is very much inline with the portability goals of Seam. Having a representative from each project is even better ;)<div><br></div><div>Portability doesn't mean you have to give up the add-ons that a particular implementation offers. I recommend following the model we use in Seam Persistence of activating features based on what's in use. Notably, Seam Persistence exposes features of Hibernate, such as Search and manual flushing, if Hibernate is present under the covers.<div>
<br></div><div>Seam Persistence also uses a similar multi-module test strategy to test each implementation, so that's like worth following if you think it works for you.</div><div><br></div><div>Keep in mind there are several ways to activate features based on environment:</div>
<div><br></div><div>service locator (java 6)</div><div>register bean manually in extension (cdi)</div><div>producer (cdi)</div><div>@Requires (from solder)</div><div>configuration (via beans.xml or seam config)</div><div>
<div><div>or introduce your own if you need more flexibility</div><div><br></div><div>-Dan<br><br><div class="gmail_quote">On Tue, Mar 1, 2011 at 06:34, George Gastaldi <span dir="ltr"><<a href="mailto:gegastaldi@gmail.com">gegastaldi@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I forked the repository. Please browse my initial code to see if it<br>
matches your expectations.<br>
<br>
Also, what do you think about creating two maven modules for testing<br>
(jackrabbit and modeshape) ?<br>
_______________________________________________<br>
seam-dev mailing list<br>
<a href="mailto:seam-dev@lists.jboss.org">seam-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/seam-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/seam-dev</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div>Dan Allen</div>Principal Software Engineer, Red Hat | Author of Seam in Action<br>Registered Linux User #231597<br><br><div><a href="http://www.google.com/profiles/dan.j.allen#about" target="_blank">http://www.google.com/profiles/dan.j.allen#about</a><br>
<a href="http://mojavelinux.com" target="_blank">http://mojavelinux.com</a><br><a href="http://mojavelinux.com/seaminaction" target="_blank">http://mojavelinux.com/seaminaction</a><br></div><br>
</div></div></div></div>