[jboss-dev-forums] [JBoss AS7 Development] - Re: Data sources in EAR on AS7?

arjan tijms do-not-reply at jboss.com
Thu May 19 11:15:56 EDT 2011


arjan tijms [http://community.jboss.org/people/atijms] created the discussion

"Re: Data sources in EAR on AS7?"

To view the discussion, visit: http://community.jboss.org/message/606078#606078

--------------------------------------------------------------
What about taking an approach like Tomcat does with respect to embedded context.xml files in a WAR;

When the EAR is deployed, have a meta deployer first scan the archive and copy any "service files" (-ds.xml, -hornetq-jms.xml, etc) encountered to the location expected by AS 7. Then proceed with the deployment as it normally would be done.

If the meta deployer uses both META-INF and jboss-app.xml or a simular file to discover the embedded service files, then everything that worked on AS 6 and before should continue to work on AS 7.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/606078#606078]

Start a new discussion in JBoss AS7 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110519/d2f87e7c/attachment.html 


More information about the jboss-dev-forums mailing list