Re: [OS-webwork] Interceptor abuse

2003-01-13 Thread Mike Cannon-Brookes
>>> Yes, I do mean servlet filters. >> >> How the hell do they work outside the web environment mate? :) >> > They don't! But you just said they did? I think you meant the opposite ;) >> "I want the ability to run some code before / after defined actions." >> >> That would be awesomely useful

Re: [OS-webwork] Interceptor abuse

2003-01-13 Thread Wayland Chan
--- Mike Cannon-Brookes <[EMAIL PROTECTED]> wrote: > > Noone is trying to get Xwork out of the web arena. > They're trying to make > sure it works, well, in both. > > -mike > Herein lies comments of a new user so please read as such... Who owns/started webwork? Should they not have a say in th

Re: [OS-webwork] Interceptor abuse

2003-01-13 Thread Hani Suleiman
Quoting Mike Cannon-Brookes <[EMAIL PROTECTED]>: > > Yes, I do mean servlet filters. > > How the hell do they work outside the web environment mate? :) > They don't! > "I want the ability to run some code before / after defined actions." > > That would be awesomely useful, for the reasons you

Re: [OS-webwork] Interceptor abuse

2003-01-13 Thread Mike Cannon-Brookes
> Yes, I do mean servlet filters. How the hell do they work outside the web environment mate? :) Again - all of your arguments make some sense. They always do - somewhat ;) You must be thinking about interceptors differently to me. Let me try to make it simple: "I want the ability to run some c

Re: [OS-webwork] Interceptor abuse

2003-01-13 Thread Mike Cannon-Brookes
>> Do you mean servlet filters? In which case - surely they don't work at all >> outside a web environment? > > As Rickard has pointed out, "So?" There's little intent - except by a few > over-outspoken users - to get XWork out of the web arena. Look - go read previous posts carefully - do not co

Re: [OS-webwork] Interceptor abuse

2003-01-13 Thread Hani Suleiman
Yes, I do mean servlet filters. I really don't mean to be rehashing old arguments, but the 'outside of a web environment' argument seems like a bit of a red herring to me. Lets take a few examples where the use of interceptors is mentioned... - Hibernate sessions: A filter could start and close

XWork name (was Re: [OS-webwork] Interceptor abuse)

2003-01-13 Thread Joseph Ottinger
Another thing to think about: if XWork's primary goal is the web, as Rickard prefers - where primacy means other interface mechanisms are, like, optional to the point of "Oh, you can use it with that? Neato, we didn't expect that!" - then maybe XWork is incorrectly named and we're really talking ab

Re: [OS-webwork] Interceptor abuse

2003-01-13 Thread Joseph Ottinger
On Mon, 13 Jan 2003, Mike Cannon-Brookes wrote: > Hani, > > Do you mean servlet filters? In which case - surely they don't work at all > outside a web environment? As Rickard has pointed out, "So?" There's little intent - except by a few over-outspoken users - to get XWork out of the web arena.

Re: [OS-webwork] Interceptor abuse

2003-01-13 Thread Mike Cannon-Brookes
Hani, Do you mean servlet filters? In which case - surely they don't work at all outside a web environment? And the other problem is that servlet filters are not applied directly to a specific action / group of actions, they are URL pattern based? (which is a royal pain in the ass to define!) Mi

[OS-webwork] Interceptor abuse

2003-01-13 Thread Hani Suleiman
Are interceptors really that different from filters? If they are very different, then I'm missing something and you can ignore the rest of this email... However, if they aren't that different, then I believe that they are few cases where a interceptor would be required instead of a filter. Filt