Hello,
I have finished the evaluation of Stripes and published an article as
part of the series 'Web Framework Evaluation from a Java point of view'.
You can find it here:
http://www.laliluna.de/the-web-framework-evaluation.html

There is a sample project illustrating a number of features. I would
like to have your feedback on an alternative approach to integrate a
business layer. I chose a different approach then the Spring or the EJB
3 integration. What I did is to replace the ActionBean factory. I let
the Action beans create from the Pico AOP container. The nice think is
that I can use the powerful Pico constructor injection inside of my
ActionBean.

I just need a constructor with the required classes and services. Pico
will use the constructor when it creates the ActionBean.

public class PicoIntegration implements ActionBean {
     private SampleService sampleService;

     public PicoIntegration(SampleService sampleService) {
         this.sampleService = sampleService;
     }

What do you think?

-- 
Best Regards / Viele Grüße

Sebastian Hennebrueder
-----
Software Developer and Trainer for Hibernate / Java Persistence
http://www.laliluna.de



------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to