On 21 Apr 2009, at 07:26, Dan Allen wrote:
6. The booking example needs to be ported to run on JSR-299 (very
high priority).
I've begun the work on this, focusing initially on the build (I will
need lots of advice on how to best *implement* the functionality
using 299). Right now, I have three pom.xml files committed:
modules/version-matrix/pom.xml
examples/pom.xml
examples/booking/pom.xml
They depend on each other ascending the list. Pete, you mentioned
that the Seam version-matrix should use the WB version-matrix as the
parent.
Probably a good idea.
I have not done that yet (since I don't need that many
dependencies
yet given what I have so far). Shane, please feel free to hack this
file up as needed. I just had to have it in place to do anything w/
the examples.
The good news is that the seam-booking.war can be built and deployed
to JBoss AS 5. It doesn't really do anything yet except show the
home page. Tomorrow I can dive in and start to get a screen or two
going.
I would then like to research getting Maven to deploy the
examples...only falling back to Ant if I am just fighting with it
too much.
I've done this twice and it's a nightmare ;-)
Couple of questions so far.
1. Can I use the standard src/main/webapp for the web assets? The
webbeans build uses WebContent which I guess is for JBDS. But I
think I can get JBDS to work with src/main/webapp just fine. I'm
also open to the folder named "view". I really dislike the folder
name WebContent.
I think we should go with the WTP standard here.
2. We are setting JSF to version 2.0.0.PR2, right? I guess later if
we need to we can think about how to enable JSF 1.2 in the build,
but I'm assuming we are just not worrying about that yet. So I can
use JSF 2 features (and knock out legacy Facelets), correct?
I don't see a need to support JSF 1.2
3. Should booking be an EAR or a WAR (or both)? I know I will need a
Stateful session bean so with JBoss AS 5 that still requires use of
an EAR I believe. I seem to have answered my own question. Just
verify.
EAR.
Also, please can we use consistent formatting of XML files in Seam
3? It appears this team likes 3 spaces. I'm willing to go with that
(though I prefer tabs myself). Just be conscious of this because it
really gets tedious when it's all different.
Yes, 3 spaces is good. Tabs are evil :-)
So far, so good. Shane, let's keep chatting. I should be back on IM
this week.
-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.
_______________________________________________
seam-dev mailing list
seam-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/seam-dev
--
Pete Muir
http://www.seamframework.org
http://in.relation.to/Bloggers/Pete