On Fri, Dec 11, 2009 at 12:44 PM, David Geary <clarity.training(a)gmail.com>wrote:
2009/12/10 Lincoln Baxter, III <lincolnbaxter(a)gmail.com>
> Even better, why not use/recommend embedded glassfish as the ultimate
> quick-start through maven?
>
+1
However, we also need to make sure we don't leave the many Tomcat users out
in the cold.
One thing I'd like to see covered--that I'd like to know how to do myself,
in fact--is using the latest version of the EL (so that developers can pass
params to action methods, for example), and using bean validation with JSF 2
in Tomcat.
That stuff is built into Glassfish, but I have no idea where the official
JARs are for those things, and even if I knew that, I have no idea what to
do with them (just drop them in Tomcat's WEB-INF/lib? Will that work? Has
anyone tried that?).
That's exactly what these archetypes provide (namely servlet-minimal)
(except we having moved to EL 2.2 yet, that is on our TODO list).
http://sfwk.org/Documentation/WeldQuickstartForMavenUsers
The Weld part adds CDI for servlet containers (really, it is amazingly
lightweight) and some nice build helpers. Please give a try (or wait a week
until we have it in Maven central repo).
-Dan
--
Dan Allen
Senior Software Engineer, Red Hat | Author of Seam in Action
Registered Linux User #231597
http://mojavelinux.com
http://mojavelinux.com/seaminaction
http://www.google.com/profiles/dan.j.allen