Well, rather than use named entity instances, you could just use references to 
them in a stateful backing bean : 

I.e.


  | 
  | class MyBackingBean 
  | 
  | ...
  |   private Entity entity1;
  |   private Entity entity2;
  | 
  |   public Entity getEntity1() {
  |     return entity1;
  |   }
  | 
  |   public Entity getEntity2() {
  |     return entity2;
  |   }
  | 
  | 
  | 

Which I believe is the preferred method to outjecting entity instances.

Cheers,

Andy


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

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

Reply via email to