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. 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.
Anything I do with Maven is a "hack", as I'm still very much a Maven noob
;)
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.
Awesome, I'm currently working on porting the security module so I'll
coordinate that with your progress on booking.
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.
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.
A question for Max really - this is a good chance to fix up the
structure if we need to. One thing I'd like to see is WEB-INF moved out
of resources and into the web (or whatever we call it) directory.
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?
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.
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.
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.