[jboss-user] [EJB 3.0] - Re: Possible Bug?

green_bean_1 do-not-reply at jboss.com
Tue Dec 23 10:59:10 EST 2008


EJB.name does NOT work. it does NOT correctly "inject" the  specific implementation.. How would I verify the ENC name for each specific implementation? 


anonymous wrote : 
  | 2.If two bean are implementing the same interface (strategy which is not desirable) then you shod use the beanName attribute to inject the right bean. 
  | 

I am curious why this strategy is undesirable.. Seems like the purpose of OO. Single interface with multiple realizations.. 

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

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



More information about the jboss-user mailing list