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

Max Rydahl Andersen max.andersen at redhat.com
Mon Jun 13 10:20:13 EDT 2011


>>> 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.

/max


More information about the jboss-as7-dev mailing list