Never mind - I have solved this problem
- I needed to add ejb-jar.xml with the Seam interceptor to my persistence unit.
BTW - it seems like the xml given in the samples does not conform to the EJB 3
xsd...
http://java.sun.com/xml/ns/j2ee/ejb-jar_3_0.xsd
- Instead of @In-jecting my EntityManag
it's not an issue of using getters or setters - annotating either the fields or
the getters/setters works fine.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3965567#3965567
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&
You don't need getters and setters for Seam components (or that's at least what
I learned *g*). Just annotate your property (private User user) with @In and
@Out. And make sure to add required=false or create=true if necessary.
View the original post :
http://www.jboss.com/index.html?module=bb&