henk de boer [
http://community.jboss.org/people/henk53] created the discussion
"Re: Data sources in EAR on AS7?"
To view the discussion, visit:
http://community.jboss.org/message/599656#599656
--------------------------------------------------------------
Jason Greene wrote:
You can in fact use the spec described @DataSourceDefinition (data-source in xml) to do
this. However this uses JDBC directly, since it directly references JDBC classes, and
bypasses the JCA layer. So the disadvantage here is that it is an "unmanaged"
data source. Anything in the standalone.xml/domain.xml is "managed" and can be
added/removed on the fly, monitored, etc.
Hmmm, does "unmanged" in this context also means connections aren't pooled
and perhaps aren't suited for use in XA transactions?
In that case the spec described datasource wouldn't really work for what I need.
I could very well live without management capabilities like adding/removing and
monitoring, but it's fairly crucial for us that datasources can be embedded inside the
EAR. We have used this capability of JBoss AS for years now and pretty much our entire
deployment strategy depends on it.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/599656#599656]
Start a new discussion in JBoss AS7 Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]