[jboss-user] [JBoss Seam] - Re: Component Architecture instead of traditional Layers

pete.muir@jboss.org do-not-reply at jboss.com
Sat Jan 19 16:59:38 EST 2008


"ruettimac" wrote : a) Injecting stateful session beans into other stateful session beans?

No problem here, just use @In

anonymous wrote : b) Are there any problems regarding the different seam scopes like CONVERSATION and long running CONVERSTAION scopes beans?

Like what?

anonymous wrote : c) Any patterns to avoid or seam annotations like @Create or @Factory?

I find @Create is less useful in writing apps (it's great for build infrastructure components, like those in Seam). @Factory is great. I'm a fan of using a Seam component and a factory to manage your entites (a la EntityHome/seam-gen) rather than explicitly outjecting objects (but outjection has performance benefits).

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121542#4121542

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4121542



More information about the jboss-user mailing list