In general, what's the difference between using @Factory and not? When should 
@Factory be used? What's the difference between the following two options (e.g. 
for populating a datamodel, or even for doing something else).

@DataModel
  | private List<Stuff> stuff;
  | 
  | @Factory
  | public void getStuff() {
  |     stuff = findListOfStuff();
  | }

@DataModel
  | public List<Stuff> getStuff() {
  |     return findListOfStuff();
  | }

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002115
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to