Injecting Spring bean to EJB3 SLSB without @Autowired Annotation
I need to develop an EJB(SLSB), which has a DAO reference.
Now i want to configure these beans in spring applicationContext.xml.
class MyFirstEJB3 implements FirstEJB3Remote
private MyDAO dao;
As i am not using Annotations for all other beans(i am configuring using XML), to maintain consistency, i want to configure these beans also through XML.
In spring-reference manual, i found that it can be done using @Interceptors(SpringBeanAutowiringInterceptor.clas s)on MyFirstEJB3 and @Autowired on MyDAO.
Is there any other way to configure it, so that when i access my EJB, i should get the EJB with DAO has been set.
K. Siva Prasad Reddy