This content has been marked as final.
Show 2 replies
-
1. Re: understanding "messages" example
gonorrhea Mar 24, 2009 9:29 PM (in response to germandev.net-seam.wje-online.de)You need to read Seam in Action or the new edition of the Seam fwk book by Yuan et al...
1) @DataModelSelection injects so you don't need @In
2) if you don't use type=EXTENDED, the PC is scoped to the transaction. You use type=EXTENDED for SFSB conversational modeling (w/o Seam, w/ Seam you use @In to inject SMPC)
3) Each bean or component in Seam can have a different scope, even if it's injected into another component.
Read the ref doc as well.
-
2. Re: understanding "messages" example
germandev.net-seam.wje-online.de Mar 25, 2009 4:39 PM (in response to germandev.net-seam.wje-online.de)Thank you for your answers!
What I still don't understand: Why do I need a scope for an entity bean?
Isn't an entity bean always used inside a session bean and then whould inherit that scope?
Ron Ramirez wrote on Mar 24, 2009 21:29:
You need to read Seam in Action or the new edition of the Seam fwk book by Yuan et al...I ordered them, thank you for this advice!