[jboss-user] [JBoss Seam] - Re: Problem with injection

chawax do-not-reply at jboss.com
Thu Jul 26 12:16:41 EDT 2007


That's what I thought  ... I expected that Seam create instance when needed (such as a lightweight container like Spring). So it does not ?

I tried to add @Startup to ServiceEmploye bean, but I had errors because the component had to be APPLICATION or SESSION scoped.

About the @In(required=false), does it mean that Seam will instantiate the component if it doesn't exist ?

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

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



More information about the jboss-user mailing list