Re: [Stripes-users] re quest/response scoping

2011-03-04 Thread Yee
Hi Tony, I think the point you raised has been pretty much exhaustively elaborated by the previous posters. What I want to add is that as somebody who has to switch between SpringMVC and Stripes on a periodic basis - my experience is that Stripes wins hands down. Our company started a couple

Re: [Stripes-users] re quest/response scoping

2011-03-03 Thread Tony Drago
Soren Pedersen wrote: I have not tried Spring MVC. I dropped it when I looked at the XML configuration file(s)... Perhaps this has gotten better lately, I don't know. SpringMVC has really improved in this area. Since version 2.5 (current version is 3.0.X) you can basically do

Re: [Stripes-users] re quest/response scoping

2011-03-03 Thread Tony Drago
Nikolaos Giannopoulos wrote: Encapsulation in OO IMHO pertains to the class as a whole not the method level. If you want to encapsulate at the method level then your going to have a hard time not allowing someone to access and affect other attributes of the class (e.g. other

Re: [Stripes-users] re quest/response scoping

2011-03-03 Thread Jeppe Cramon
Hi Tony I agree IF Stripes would allow you to supply parameters for Action Methods, like Spring MVC or JERSEY (REST), that would mean a good cleanup and better encapsulation. /Jeppe It is difficult to get a man to understand something when his salary depends upon him not understanding it.” -

Re: [Stripes-users] re quest/response scoping

2011-03-03 Thread VANKEISBELCK Remi
Hi folks, This has already been discussed on the mailing list (not so long ago). The debate is open, and ultimately it's a personal preference : some prefer method parameters a la Spring, others favor properties. I think there is no answer here : both methods have their pros and cons, and will

Re: [Stripes-users] re quest/response scoping

2011-03-03 Thread Janne Jalkanen
Again, I'm not attempting to prove that SpringMVC is better than Stripes, the question of interest is whether Stripes encourages bad practice from an OO point-of-view? I suppose it depends on your definition of OO - I use subclassing in my ActionBeans so that I can share common parameters and

Re: [Stripes-users] re quest/response scoping

2011-03-03 Thread Poitras Christian
of just the id? That's even more trivial to do if your user converter takes the id. Christian -Message d'origine- De : Tony Drago [mailto:do...@mailinator.com] Envoyé : March-03-11 4:52 AM À : stripes-users@lists.sourceforge.net Objet : Re: [Stripes-users] re quest/response scoping

Re: [Stripes-users] re quest/response scoping

2011-03-03 Thread Nikolaos Giannopoulos
trivial to do if your user converter takes the id. Christian -Message d'origine- De : Tony Drago [mailto:do...@mailinator.com] Envoyé : March-03-11 4:52 AM À : stripes-users@lists.sourceforge.net Objet : Re: [Stripes-users] re quest/response scoping Nikolaos Giannopoulos wrote

Re: [Stripes-users] re quest/response scoping

2011-03-03 Thread Gérald Quintana
-Message d'origine- De : Tony Drago [mailto:do...@mailinator.com] Envoyé : March-03-11 4:52 AM À : stripes-users@lists.sourceforge.net Objet : Re: [Stripes-users] re quest/response scoping Nikolaos Giannopoulos wrote: Encapsulation in OO IMHO pertains to the class as a whole

Re: [Stripes-users] re quest/response scoping

2011-03-03 Thread Will Hartung
On Mar 3, 2011, at 1:52 AM, Tony Drago wrote: // ANNOTATIONS OMITTED FOR BREVITY class MyController { public String deleteUser(Integer userId) { userService.deleteUser(userId); return redirect:/listUsers; } public ModelAndView addUser(User user) {

[Stripes-users] re quest/response scoping

2011-03-02 Thread Tony Drago
Hi, First of all, I promise I'm not trolling. I'm going to say some critical things about Stripes here, but my intention is to understand whether I'm missing something, not to offend. If you don't like to read criticism of your favorite framework, you should probably not read any further. Now

Re: [Stripes-users] re quest/response scoping

2011-03-02 Thread Søren Pedersen
Hi Tony We can all learn from criticism, so in my opinion it is great to get your view on this :-) I have not tried Spring MVC. I dropped it when I looked at the XML configuration file(s)... Perhaps this has gotten better lately, I don't know. Let me explain the way I see it. Stripes has from

Re: [Stripes-users] re quest/response scoping

2011-03-02 Thread Nikolaos Giannopoulos
Tony, Comments in-line... Tony Drago wrote: Hi, First of all, I promise I'm not trolling. I'm going to say some critical things about Stripes here, but my intention is to understand whether I'm missing something, not to offend. If you don't like to read criticism of your favorite