Hi Samuel

Apologies for the lateness of my response.
Better late than never? :-)

-- Thank you Oscar for your quick answer.Ben, Freddy, can any of you help me 
with the other questions please?Can you also give me more details about how 
ObjectPostProcessor works? Should I implement it in the Stripes EJB3 
Interceptor?Thanks,--Samuel Santoshttp://www.samaxes.com/

Yes, for Stripes 1.6 you should implement an ObjectPostProcessor. The easiest
thing is to look at the SpringInjectionPostProcessor[1].

However, right now there is a bug[2] that prevents dependency injection from
working in *all* Stripes types of objects. It does work for action beans and
the action bean context, and maybe for others. I will try and look into it
this weekend. My feeling is that the discovery of ObjectPostProcessors simply
has to be moved up earlier in the startup discovery process.

As for the Spring integration stuff not belonging in the Stripes core....well,
perhaps you have a point, but this is only used if you declare the Spring
package in web.xml, otherwise it is not a Stripes dependency. Besides, it is
only 3 classes so I wouldn't call that feature bloat.

I don't want to go into a Spring vs. EJB3 debate, but I think it is safe to
say that there are a considerable number of people in each camp. For 3 classes,
I don't think it is worth moving the Spring integration out of the Stripes core
and breaking backward compatibility. "Since the release of EJB 3.0 a lot of us
don't use Spring anymore" may be valid, but "since the release of EJB 3.0 a
lot of us still prefer Spring" is valid as well.

I'll try and fix STS-667 in the next few days.

Cheers,
Freddy
http://www.stripesbook.com

[1]:https://svn.sourceforge.net/svnroot/stripes/trunk/stripes/src/net/sourceforg
e/stripes/integration/spring/SpringInjectionPostProcessor.java

[2]:http://www.stripesframework.org/jira/browse/STS-667



------------------------------------------------------------------------------
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to