Jesper Pedersen [
http://community.jboss.org/people/jesper.pedersen] created the
discussion
"Re: Data sources in EAR on AS7?"
To view the discussion, visit:
http://community.jboss.org/message/606544#606544
--------------------------------------------------------------
The new proposed archive certainly sounds like a compromise that
could possibly work, at least for deployment to production servers.
It isn't a compromise - all deployments should go through the management layer.
I do wonder why you think an .ear with an embedded data source is not
an .ear as defined by Java EE 6. Isn't the META-INF folder in an .ear allowed or
actually intended to contain files concerning meta issues (e.g. deployment)?
The -ds.xml and friends isn't part of the standard. If you want a datasource in your
deployment use the EE 6 @DataSourceDefinition - but it won't be backed by a JCA
container.
I think we have discussed this enough; there is a breakdown of the overall idea for the
correct solution. Once somebody has a design - maybe even a proof-of-concept
implementation - open a new thread.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/606544#606544]
Start a new discussion in JBoss AS7 Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]