[jboss-user] [EJB 3.0] - Re: 2 Stateless session beans, same name+interface, differen

gr28 do-not-reply at jboss.com
Wed Nov 12 04:44:47 EST 2008


Hi,

Thank you for your response. 
The usage of @LocalBinding seems to help. But anyway, is it possible to intercept the decision process (the JNDI injection) in JBoss?

Our use case is simple:
We have a product that implements default behavior. For projects a specific implementation should be used by the product, without changing the product code!

So if we use a code of 


  | @EJB(beanName="b1")
  | 	IBean beanImpl;
  | 

and we have 2 implementations named b1 (one in the product and one project specific), we want to decide (globally by configuration) which implementation to use.

bye, Georg

--
www.im-consultants.at


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

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



More information about the jboss-user mailing list