users@glassfish.java.net

Re: How to inject data source in AS independent way?

From: <glassfish_at_javadesktop.org>
Date: Tue, 12 May 2009 22:59:19 PDT

As I understand the vendor specific mapping file, e.g. sun-ejb-jar.xml, has to be created for each EJB using the resource. And what if the application contains thousands of EJBs?
Typically data sources are global resources and all the EJBs uses the same set of them. Isn’t possible to define this type of mapping on a global level, i.e. once for the entire application (the ear file)?
[Message sent by forum member 'japase' (japase)]

http://forums.java.net/jive/thread.jspa?messageID=346044