<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Sounds a bit like an old school java ee hack, wouldn’t be better to just bind the datasource at a java:global entry?<div><br></div><div>—E<br><div><br><div><div>On 31 Jan 2014, at 16:11, Martin Andersson &lt;<a href="mailto:martin.andersson@purplescout.se">martin.andersson@purplescout.se</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Yes. But I can add deployment descriptors for other application servers and have the same binary run in both production and dev setups.<div><pre style="">Br,
Martin Andersson
Java EE developer at <a href="http://www.purplescout.se/">www.purplescout.se</a></pre></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jan 31, 2014 at 4:31 PM, Eduardo Martins <span dir="ltr">&lt;<a href="mailto:emartins@redhat.com" target="_blank">emartins@redhat.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 31 Jan 2014, at 14:33, Martin Andersson &lt;<a href="mailto:martin.andersson@purplescout.se">martin.andersson@purplescout.se</a>&gt; wrote:<br>

<br>
&gt; 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.<br>
&gt;<br>
&gt; The proprietary jboss namespace is not an option since I want to be vendor neutral, but ear/java:app is definitely an option.<br>
&gt;<br>
<br>
</div>Well, aren’t you using it already in jboss-web xml?<br>
<span class="HOEnZb"><font color="#888888"><br>
—E</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Hälsningar,<div>Martin Andersson</div><div>Purple Scout AB</div><div>+46 732 05 14 01</div></div>
</div>
</blockquote></div><br></div></div></body></html>