1 Reply Latest reply: Feb 22, 2012 11:01 AM by gboro54 RSS

CDI injection with EJB remote interfaces

gboro54 Novice

What is the best way to handle this situation? Basically I have the need to expose both a local and remote interface to a stateless EJB. However when I add the remote interface I can no longer inject the bean using @Inject. Is this a case where @EJB should be used instead? If so I am assuming @Inject into the class would not work. I am trying to run this on JBoss 7.1