[seam-dev] laying the tracks for Seam 3

Dan Allen dan.j.allen at gmail.com
Tue Apr 21 23:01:24 EDT 2009


Oh, and you can upgrade your JSF 2 libraries in JBoss AS 5 by using the
following Maven project:

modules/jsf-updater-tool

You just type:

mvn

This is sort of an experiment in how we can use Maven to do utility tasks. I
like it so far.

-Dan

On Tue, Apr 21, 2009 at 10:59 PM, Dan Allen <dan.j.allen at gmail.com> wrote:

> 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'm just getting into the Web Beans programming model here.
>
> 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.
>
> 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.
>
> 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'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't do an exploded archive yet, but for examples
> most people focus more on just a one-time deployment. I haven't plunged into
> Cargo yet. I might dabble in it later.
>
> 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'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.
>
> 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's all for now ;)
>
>
> -Dan
>
> --
> Dan Allen
> Senior Software Engineer, Red Hat | Author of Seam in Action
>
> http://mojavelinux.com
> http://mojavelinux.com/seaminaction
> http://in.relation.to/Bloggers/Dan
>
> NOTE: While I make a strong effort to keep up with my email on a daily
> basis, personal or other work matters can sometimes keep me away
> from my email. If you contact me, but don't hear back for more than a week,
> it is very likely that I am excessively backlogged or the message was
> caught in the spam filters.  Please don't hesitate to resend a message if
> you feel that it did not reach my attention.
>



-- 
Dan Allen
Senior Software Engineer, Red Hat | Author of Seam in Action

http://mojavelinux.com
http://mojavelinux.com/seaminaction
http://in.relation.to/Bloggers/Dan

NOTE: While I make a strong effort to keep up with my email on a daily
basis, personal or other work matters can sometimes keep me away
from my email. If you contact me, but don't hear back for more than a week,
it is very likely that I am excessively backlogged or the message was
caught in the spam filters.  Please don't hesitate to resend a message if
you feel that it did not reach my attention.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/seam-dev/attachments/20090421/4609ae0b/attachment.html 


More information about the seam-dev mailing list