[jboss-user] [JBoss Seam] - Re: Getting ALL Components of a given name in ALL contexts

hasc do-not-reply at jboss.com
Mon May 21 05:10:30 EDT 2007


Hi,

maybe you can define the List or Set on ScopeType.APPLICATION an ouject it on application scope. then you can in- and outject this component on your Controller class and it saves you from accessing all instances of the conroller.

or if you store the persons in a database you can query the database whenever you instantiate the list.

would that help?



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

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



More information about the jboss-user mailing list