Sounds a bit like an old school java ee hack, wouldn’t be better to just bind the
datasource at a java:global entry?
—E
On 31 Jan 2014, at 16:11, Martin Andersson <martin.andersson(a)purplescout.se> wrote:
Yes. But I can add deployment descriptors for other application
servers and have the same binary run in both production and dev setups.
Br,
Martin Andersson
Java EE developer at
www.purplescout.se
On Fri, Jan 31, 2014 at 4:31 PM, Eduardo Martins <emartins(a)redhat.com> wrote:
On 31 Jan 2014, at 14:33, Martin Andersson <martin.andersson(a)purplescout.se>
wrote:
> I agree. I don't think mapping a datasource in jboss-web.xml is such an exotic
use case. I should just work. Also, there is no hint anywere that there is a property you
can set to make it work.
>
> The proprietary jboss namespace is not an option since I want to be vendor neutral,
but ear/java:app is definitely an option.
>
Well, aren’t you using it already in jboss-web xml?
—E
--
Hälsningar,
Martin Andersson
Purple Scout AB
+46 732 05 14 01