[jboss-as7-dev] Status of default datasource name?

Brian Stansberry brian.stansberry at redhat.com
Mon Jun 13 10:30:22 EDT 2011


On 6/13/11 9:20 AM, Max Rydahl Andersen wrote:
>>>> Any chance we can get DefaultDS bound by default by Final to reduce the
>>>> amount of "gotchas" users moving from existing AS to the new ?
>>>
>>> I'm against renaming it "DefaultDS" - as it signals that the application
>>> server requires a datasource to work.
>>
>> Ins't the binding supposed to be under java:jboss/ anyway? (Forgive me;
>> I haven't been following the details on this stuff, so could be off base.)
>>
>> If so, it would be java:jboss/DefaultDS which breaks old stuff anyway;
>> might as well use java:jboss/H2DS.
>
> If the binding will break anyway and Jesper thinks defaultDS means it signals AS requires
> a datasource to work how about creating a default datasource bound to ExampleDS ?
>
> I really don't like H2DS since its named to a specific database type/name.
>
> Having a dedicated Example datasource would make everyone equally happy or equally displeased
> dependent on your POV :)
>
> Note, the reason I raise this is that its a major annoyance for docs/usability wise and would be
> great to have something fairly clean from AS 7 Final.
>

Just my 2 cents, but that makes sense to me. AIUI the only issue was not 
using a name that implies the app server itself needs the datasource. 
ExampleDS is actually better in that sense.


-- 
Brian Stansberry
Principal Software Engineer
JBoss by Red Hat


More information about the jboss-as7-dev mailing list