开发者

Using spring service inside of ejb 3.1 stateless timer

I know that the general consensus is to use one or the other, but we have a specific task where we would like to use our spring services from within a stateless ejb timer.

Is there a standard way of getting a spring service from outside the开发者_JAVA百科 normal flow of my web app? (Note I'm using the stripes framework and it has built in spring support and I'm using this built in support to access my spring services normally)


According to the Spring manual you can configure an EJB 3 injection interceptor that will take care of injecting @Autowired springbeans into your EJB Session Beans.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜