[wildfly-dev] How to deal with resource refs when deploying JPA container managed entity managers (WFLY-2841)

Eduardo Martins emartins at redhat.com
Fri Jan 31 11:16:58 EST 2014


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 at 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 at redhat.com> wrote:
> On 31 Jan 2014, at 14:33, Martin Andersson <martin.andersson at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/wildfly-dev/attachments/20140131/4b35d8c9/attachment-0001.html 


More information about the wildfly-dev mailing list