There was no objections, so I'll proceed with this change.
Andrus
On Apr 2, 2006, at 11:55 PM, Malcolm Edgar wrote:
> +1
>
> On 4/2/06, Andrus Adamchik <andru..bjectstyle.org> wrote:
>> While we still have time to deprecate stuff, I thought I'd raise this
>> issue.
>>
>> There are three redundant ways to bootstrap Cayenne in a web
>> application. I suggest that we reduce the number of default
>> configuration choices. Currently we have:
>>
>> 1. WebApplicationContextFilter (Servlet spec 2.3+, session
>> DataContext, thread DataContext)
>> 2. WebApplicationContextListener (Servlet spec 2.3+, session
>> DataContext)
>> 3. WebApplicationContextProvider (Servlet spec 2.4+, session
>> DataContext, thread DataContext)
>>
>> For a novice user this creates unneeded confusion as to what is the
>> difference between them. And for a power user each one of the choices
>> is trivial to write from scratch.
>>
>> So maybe just keep the (1) - the filter, and move the rest to Wiki as
>> possible custom alternatives (with deprecation of course). Filter
>> seems like the best choice to keep as it works with older spec and
>> does allow mapping by path.
>>
>> What do you think?
>>
>> Andrus
>>
>
This archive was generated by hypermail 2.0.0 : Wed Apr 05 2006 - 03:28:35 EDT