Now for my next question. How do we test the examples? Are we to port/use SeamTest or something you have cooked up in Web Beans? I have no problem studying, I just don&#39;t want to waste time so perhaps you can just point me in the right direction.<br>
<br>-Dan<br><br><div class="gmail_quote">On Tue, Apr 21, 2009 at 10:59 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="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Good news, I restructured the booking example into a 3 module reactor project (ejb, war, ear) to build out an EAR deployable...and it actually deploys. So far, you can use the hotel search. PLEASE feel free to suggest refactorings. I&#39;m just getting into the Web Beans programming model here.<br>

<br>The booking project lays down a standard for Seam 3 examples. I will of course port ideas back and forth between Seam and Web Beans as we learn more about Maven and how we want to set things up.<br><br>One of the minor, but nice advances I made is that I was able to use Maven project properties to minimize the repeated elements in each pom.xml. Just check it out to see what I am talking about.<br>

<br>Even cooler news was that I figured out how to build out an EAR for JBoss AS complete with the data source embedded within it. This simplifies the deployment, since you don&#39;t have to hang the -ds.xml file out adjacent to the deployable and it allows Maven to do all the work without any hacks. I even discovered that the jboss maven plugin does a pretty decent job of deploying to JBoss. It doesn&#39;t do an exploded archive yet, but for examples most people focus more on just a one-time deployment. I haven&#39;t plunged into Cargo yet. I might dabble in it later.<br>

<br>I ran into one hangup that caused me to lose a couple of hours. If you use the typical loader-repository setting in jboss-app.xml, it breaks injection in Web Beans. I don&#39;t really understand why, or why the loader-repository is really needed anymore, so I just made a note in the pom.xml not to use it.<br>

<br>Long story short, you can deploy booking. But you will need to have Web Beans and JSF 2 SVN deployed to JBoss AS 5. That&#39;s all for now ;)<div><div></div><div class="h5"><br><br>-Dan<br><br>-- <br>Dan Allen<br>Senior Software Engineer, Red Hat | Author of Seam in Action<br>

<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><a href="http://in.relation.to/Bloggers/Dan" target="_blank">http://in.relation.to/Bloggers/Dan</a><br>

<br>NOTE: While I make a strong effort to keep up with my email on a daily<br>basis, personal or other work matters can sometimes keep me away<br>from my email. If you contact me, but don&#39;t hear back for more than a week,<br>

it is very likely that I am excessively backlogged or the message was<br>caught in the spam filters.  Please don&#39;t hesitate to resend a message if<br>you feel that it did not reach my attention.<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Dan Allen<br>Senior Software Engineer, Red Hat | Author of Seam in Action<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://in.relation.to/Bloggers/Dan">http://in.relation.to/Bloggers/Dan</a><br><br>NOTE: While I make a strong effort to keep up with my email on a daily<br>basis, personal or other work matters can sometimes keep me away<br>
from my email. If you contact me, but don&#39;t hear back for more than a week,<br>it is very likely that I am excessively backlogged or the message was<br>caught in the spam filters.  Please don&#39;t hesitate to resend a message if<br>
you feel that it did not reach my attention.<br>