Amit Ajmani [
http://community.jboss.org/people/amitajmani1] created the discussion
"Re: Dependecy Injection through Spring in EJB 3.0"
To view the discussion, visit:
http://community.jboss.org/message/631428#631428
--------------------------------------------------------------
Just want to correct the type above:
My interface hierarchy are
public interface InstrumentService{
...
}
@Remote
public interface InstrumentServiceRemote extends InstrumentService{
....
}
//annotated with stateless and transaction and SpringBeanAutoWiring (as above)
public class InstrumentServiceEJB implements InstrumentServiceRemote{
@Autowired
private InstrumentService instrService;
.....
}
public class InstrumentServiceCore implements InstrumentService{
.....
}
the instrService in EJB need to be initialized with InstrumentServiceCore .....
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/631428#631428]
Start a new discussion in Beginner's Corner at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]