geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <djen...@gluecode.com>
Subject Re: How forgiving should we be about jndi component context names?
Date Wed, 10 Nov 2004 16:59:36 GMT
I tend to agree with you, but not supporting it if most other app 
servers do causes the opposite problem, that non-compliant apps that 
run elsewhere won't run on geronimo.  In particular xpetstore seems to 
make use of this non-compliant behavior.

thanks
david jencks

On Nov 10, 2004, at 8:41 AM, Erin Mulder wrote:

> David Jencks wrote:
>> However I believe it is popular to misspell this
>> java:/comp/env
>> Do we want to support this naming abuse?
>
> It would be convenient, but might cause applications to fail when 
> ported to other app servers.  If the spec is clear on the correct 
> usage, then I think it's better to just detect the problem and display 
> a very specific warning/tip in the log so that the developer can 
> easily find and fix the problem at development time.  (As opposed to 
> having to hunt down a generic lookup failure, or figure out why things 
> suddenly broke months later when moved to a different app server.)
>
> Cheers
> Erin
>


Mime
View raw message