Hi, IOC and AOP works only when beans are instanciated by Spring. As ActionBeans are instanciated by Stripes and not Spring @Autowired doesn't work.
This is fixed in the coming 1.6 release (see http://www.stripesframework.org/jira/browse/STS-633). Gérald 2010/3/8 KR <k-no-s...@a4consulting.nl>: > Hi everybody, > > > > I followed the examples in Frederic Daoud his Stripes book to organize my > DAO classes. Thus now I use the @SpringBean annotation for IOC in my action > beans and @Autowired in my service classes. But now I start to understand > Spring IOC a bit better, I wonder why use two different ways to accomplish > IOC? > > > > Why not always use @Autowired instead of @SpringBean? Or is there a benefit > to use the Stripes interceptor over the Spring container? > > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Stripes-users mailing list > Stripes-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/stripes-users > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users